Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Folder Exists
Message
De
21/02/2005 21:08:44
John Tomblin
Service Station Systems, Inc.
San Jose, Californie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Folder Exists
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
00989103
Message ID:
00989103
Vues:
57
GoodDir = "V:\Data\Dlog3\SitePhotos\123456\"
?directory(GoodDir) returns .F. but, that is incorrect

PartDir = "V:\Data\Dlog3\SitePhotos\"
?directory(PartDir) returns .T.

copy file Something.jpg to (GoodDir + "Something.jpg") works just fine.
adir(aName, GoodDir + "*.jpg") returns 0 even though there are .jpg files in the folder.

Is there any way around this deficency without renaming 500 folders and changing tons of code?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform