Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getdir and maintaining case
Message
De
24/05/2008 06:54:38
 
 
À
24/05/2008 05:00:37
Denis Filer
University of Oxford
Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01319328
Message ID:
01319330
Vues:
15
>Hello,
>
>using lcdir = getdir('','','',64)
>
>is there a way to maintain the original folder case? Many thanks.
Hi,

You can use WSH if available:
LOCAL loFS, loFolder
loFS = CREATEOBJECT('Scripting.FilesystemObject')
loFolder = loFS.GetFolder(lcdir)
? loFolder.Path, loFolder.Name
Inside VFP, you can also use ADir() with its new 4th parameter.



hth
-Stefan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform