Check for folder existence?
Posted: March 8th, 2007, 8:48 pm
What's the best way to check for this? I had been using
I'm getting my location from a text file. It seems to always return a folder even if the text in the file points to an invalid one. Is there a folderExists function?
Code: Select all
var theFolder = new Folder(folderLocation);
if(theFolder instanceOf folder){
do some stuff
}