General information
Category:
Coding, syntax & commands
Title:
Avoid Drive Not Ready
Dear all,
Portion of my code include a checking on available drive in my machine. Since my machine have built in card reader as i:, j:, k:, l: . The code generate an error :
Exception Processing Message c0000013 Parameter 764ebf9c 4 764ebf9c 764ebf9c;
which should be caused by that no card in the card reader.
I tried WSH
oFSO = CREATEOBJECT("Scripting.FileSystemObject")
oDrv = oFSO.GetDrive("A:")
? oDrv.IsReady
* You can also check if drive exists
? oFSO.DriveExists("A:")
and diskspace(Drive)>-1
I still cannot get rid of the error message..
How can I do that ?
Regards,
Ransome
Next
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