Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get the windows system Directory in Win 2K
Message
From
08/04/2002 17:33:01
 
 
To
08/04/2002 14:50:42
Peter Wagner
Point Informática Ltda.
Limeira, Brazil
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00642313
Message ID:
00642390
Views:
10
Here's one more method using the File System object, which I believe is part of the Windows Scripting Host...
oFSO = CREATEOBJECT("Scripting.FileSystemObject")

cWindowsDir = oFSO.GetSpecialFolder(0).Path
cSystemDir  = oFSO.GetSpecialFolder(1).Path
BOb


>How can I get the windows system Directory in Win2000
>I used the function below, but in Win2000 it returns an empty string
>Is there a workaround for this ?
>Does the same happens in Windows XP ?
>Using VFP 7.0 + SP1 and Win 2K + SP2
>TIA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform