Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getdir and maintaining case
Message
From
24/05/2008 06:54:38
 
 
To
24/05/2008 05:00:37
Denis Filer
University of Oxford
United Kingdom
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01319328
Message ID:
01319330
Views:
14
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform