Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking for the Existence of a Directory
Message
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00441072
Message ID:
00441114
Vues:
13
>I have a program that will ask the user for a directory name. I need to be able to verify whether or not that directory exists.
>
>Can anyone give me some example code for checking for the existence of a directory contained in a string?
>
You can use the Dir statement or the GetFolder method of FSO (http://msdn.microsoft.com/scripting/default.htm?/scripting/vbscript/doc/vsmthgetfolder.htm).
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform