Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows System Folder
Message
From
02/11/2005 12:44:15
 
 
To
02/11/2005 12:28: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:
01064583
Views:
18
OK,OK :o)
What is wrong in my suggestion?
I use pure API :o)


>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.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform