Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple Drive Question
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00587593
Message ID:
00587610
Views:
26
This message has been marked as a message which has helped to the initial question of the thread.
>Hello everyone!!!!
>I know there is got to be some sort of way to check to see if something is in drive A. I can't find it anywhere. Someone please help.
>What I am trying to do is:
>1) check to see if a disk is in the drive
>2) copy a file from the hard drive to a drive
>3) give the user message.
>
>2) and 3) I can do with no problem but I need to check the drive first.
>What command does this or is it something else that I have to do?
>
>Thanks in Advance

oFileSystem = CREATEOBJECT("Scripting.FileSystemObject")
oDrive = oFileSystem.GetDrive("A:")
llDriveIsReady = oDrive.IsReady
Previous
Reply
Map
View

Click here to load this message in the networking platform