[30 Jan 2008] Exists() has Changed (New Solution Needed)
Posted: Sat Jun 13, 2020 5:31 pm
Note: This is an archived post that was originally sent to the Hollywood mailing list on Wed, 30 Jan 2008 23:29:35 -0000
Exists() used to work to determine the existence of a directory; but now (with Hollywood 3.0) it only works for files. So is there a new way to check to see if a directory exists? IsDirectory() doesn't work but comes up with an error if the specified directory does not exist.
I know that I could turn off ExitOnError(), check with IsDirectory(), examine the error code, and then turn ExitOnError() back on again; but is there an easier way?
Thanks,
Exists() used to work to determine the existence of a directory; but now (with Hollywood 3.0) it only works for files. So is there a new way to check to see if a directory exists? IsDirectory() doesn't work but comes up with an error if the specified directory does not exist.
I know that I could turn off ExitOnError(), check with IsDirectory(), examine the error code, and then turn ExitOnError() back on again; but is there an easier way?
Thanks,