ReadDir()

BlitzPlus Forums/BlitzPlus Programming/ReadDir()

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?

You could use FileType(Path$) to determine if the Directory already exists.

Thanks Lee, works fine.

Anyone know the new intended 'behaviour' of ReadDir(), btw?