Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disk in drive a:\?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00650854
Message ID:
00653495
Views:
22
>>Hi there,
>>
>>Is there a command to check if there is a disk in drive a:\?
>>
>>TIA,
>
>Einar,
>
>The Windows Script Host can do this
oFSO = CREATEOBJECT('Scripting.FileSystemObject')
>oDrive = oFSO.GetDrive("a:")
>? oDrive.IsReady
An old article THE KEY TO VALIDATING A USER'S PATH Robert Stone Foxpro Advisor October 1996 used a long process with Getdir(), File(), and Adir() ...

VFP3.0 (how times have changed)
I like Georges solution much better
Edgar L. Bolton, B.S. B.B.A.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform