ReadDir()

BlitzPlus Forums/BlitzPlus Programming/ReadDir()

Nigel Brown(Posted 2003) [#1]
ReadDir() used to return 0 if the supplied path wasn't valid now it seems to return a huge number? I used it to check for the presence of a directory before creating it. Any Ideas?


TeraBit(Posted 2003) [#2]
You could use FileType(Path$) to determine if the Directory already exists.


Nigel Brown(Posted 2003) [#3]
Thanks Lee, works fine.


Myke-P(Posted 2003) [#4]
Anyone know the new intended 'behaviour' of ReadDir(), btw?