For VFP, use the -L switch as in:
MyEXE.EXE -LC:\configs\myconfig.fpw
>I have a legacy application running on Foxpro 2.6 that is conflicting with a different VFP 5.0 application. They are both sharing the same FoxUser.dbf file. This is a problem as each routine prompts the user to convert the file structure back and forth.
>
>The 5.0 routine does not need to have any resource set so I tried editing the 5.0 Config.fpw file to RESOURCE=OFF
>
>Now I discover that both 2.6 and 5.0 are accessing the same CONFIG.fpw file. What is the command to change where your app looks for the config.pfw file?
------------------------------------------------
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