>>>>>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