Part of the Samples Website. 8/16/97.

samples.basicStuff.volumeHasSystem

«Shows how you can determine if a volume has a System Folder
on volumeHasSystem (volname)
return (file.exists (file.getSpecialFolderPath (volname, "System Folder", false)))
if volumeHasSystem (file.getSystemDisk ())
dialog.alert ("That's good!")
if volumeHasSystem ("This disk does not exist:")
dialog.alert ("That's not so good!")


This page was last built on Sat, Aug 16, 1997 at 6:41:55 PM. You can download the current set of sample scripts from our FTP site. Dave