Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking If Drive A: Is Ready
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00704042
Message ID:
00704045
Views:
19
>How do I determine if drive A: has a disk in it>

Here is some code from George Tasker that uses the Windows Script Host.
oFSO = CREATEOBJECT("Scripting.FileSystemObject")
oDrive = oFSO.GetDrive("A:")
? oDrive.IsReady
Previous
Reply
Map
View

Click here to load this message in the networking platform