file.setPath ("C:\\"); file.exists ("Unzipped")
» true
file.setPath ("D:\\"); file.exists ("Unzipped")
» false
file.setPath ("XP150:"); file.exists ("Status Center")
» true
file.setPath ("Boston:"); file.exists ("No Status Center")
» false
origPath = file.getPath ();
file.setPath ("System:System Folder:");
msg (file.exists ("Finder"));
file.setPath (origPath)
» true
The Frontier About Window shows the result of determining if the file "Finder" exists (which should be true). This demonstrates the use of file.getPath to save the current default path before changing it temporarily.
file.setPath ("XP150:"); file.getPath ()
» XP150: