Hi James....
Just to add what others have pointed you too.... diskspace() can also check to see if the disk is in the A: drive. It will return a -1 if the drive is empty or not ready but as George Tasker has pointed out if you are working in NT you will get a dialog box along the way.
Tom Gahagan
Alliance
Computer Solutions
"Music, like sex, is much too important to be left to professionals."
Robert Shaw