Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple Drive Question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00587593
Message ID:
00587610
Vues:
28
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform