Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to check if a directory exists?
Message
De
18/10/2002 20:18:59
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00713114
Message ID:
00713132
Vues:
22
>>1. The existense of a specific directory (e.g. a directory named Upload)
>
>IF DIRECTORY("Upload") ...
>
>>2. Then if it exists, check and list the names of its subdirectories if any.
>
>LOCAL myArray[1,5] && it will be resized by ADIR function
>nDirCount = ADIR(myArray,"Upload","D")
>
>Regards
>Jose.
Thank you Jose for your response. I will try out your suggestion.
- Ravi

True greatness consists in being great in little things.
- Charles Simmons
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform