Hi,
Maybe you could use something like this:-
lcYourWordDoc="YourFile.doc"
lcString=SYS(2023)
lcDesktopPointer=STRTRAN(lcstring,"LOCALS~1\TEMP","DESKTOP",1)
FCREATE(lcDeskTopPointer + [\] + lcYourWordDoc,0)
or
use GETENV("USERPROFILE) + DESKTOP
>Hi,
>
>I have a pretty un-computer literate client (a lawyer), and the system i wrote for him generates a Word Document that he wants to access easily. He is suggesting that I save the file on his desktop (he will be doing this rarely).
>
>Is there a way i can save a file to the desktop in VFP?
>
>Thanks, Jill
Regards N Mc Donald