Information générale
Catégorie:
Codage, syntaxe et commandes
>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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement