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.