GSAK (Geocaching Swiss Army Knife)
Contents - Index

DriveExists (function)

DriveExists(sData) : boolean

Use to determine if a particular drive exists and is ready. This function has special code so that it does not return true or throw a Windows error for "ghost" drives (empty usb card reader drives for example). 

Example, test to see if the "D:" drive exists on this computer:
 

If DriveExists("d:")
   msgok msg="Drive D: found"
EndIf

 
Alpha List         Category List
Copyright 2004-2019 CWE Computer Services  
Privacy Policy Contact