General information
Category:
Coding, syntax & commands
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only