Use the -C switch in the Shortcut to the application. For example,
MyApp.EXE -cc:\myapp\config.fpw
Would redirect VFP to use the config file in c:\myapp. Note no space between the -C and the pathname.
>When I run my application, the FOXUSER.DBF and FOXUSER.FPT are sent to my desktop. Why is this happening? First time I have seen this. For some reason, they are not being created in the Network drive where the application is running from.
>
>Any suggestions how to fix this problem? Thank you in advance.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05