Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows System Folder
Message
From
02/11/2005 12:28:49
 
 
To
02/11/2005 12:16:49
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP3
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01064369
Message ID:
01064565
Views:
23
Not a VFP alternative, but the FileSystemObject object. (Scripting.FileSystemObject)

It has a GetSpecialFolder() method that you can use to obtain a reference to the Window's system folder.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbenlr98/html/vamthGetSpecialFolder.asp

>>>>
>>>>COPY FILE SomeFile.dbf TO c:\windows\system
>>>>
>>>
>>>What about if the windows is installed in Win98, WinNT or some other folder?
>>
>>How about...
>>
>>
>>COPY FILE SomeFile.dbf TO (GETENV("WinDir")+"\System")
>>
>
>I like it :o)
>But the system folder in NT based windows is SYSTEM32, WIN98 - SYSTEM :o( , WinME - I am not sure, never used it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform