Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I want to verify which kind of drive
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00031952
Message ID:
00034999
Views:
30
>>> I want to create a procedure that would verify if the information of the
>database it's stored in hard disk or in my CD-Rom. <<
>
>1. extract the drive letter from the file name
>2. DISKSPACE(driveletter) will give 0 on a CD ROM and (hopefully) >0 on a hard
>disk.

If the user forgets to insert a CD-ROM DISKSPACE() will return -1.

Thanks
Nick
Previous
Reply
Map
View

Click here to load this message in the networking platform