Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows System Folder
Message
From
02/11/2005 12:25:45
 
 
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:
01064562
Views:
22
>>>>>Dear Experts
>>>>>
>>>>>How to go to winodws system folder?
>>>>>I want to copy some file into windows system folder.
>>>>>What command should I apply?
>>>>>
>>>>>Please help
>>>>
>>>>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.

I agree. I check on my XP for an Environment Variable of "SysDir" or "SysWinDir" and did not find one. I thought for sure this was a standard.

But, perhaps,
COPY FILE SomeFile.dbf TO (JustPath(GetEnv("ComSpec")))
Greg Reichert
Previous
Reply
Map
View

Click here to load this message in the networking platform