>>Hi all,
>>
>>Is there a way to change which _Command.prg is used at startup? I would like the one in the current folder of the project to be loaded.
>
>AFAIR command/link line and afterwards config.fpw is the order searched for entry. Current project and subsequently its folder probably not known then, but a general prg could establish current project and eval() a dynamically created line pointing to that file
OK, perhaps a bit more clarification on my part is needed.
I have VFP.exe (and other needed parts) on a Flash Drive. I can plug my Flash Drive into any computer and launch VFP. But when it starts, it loads (or creates new) a resource file in the users AppData\roaming\ folder. I have tried placing a Config.FPW file in the VFP folder, with RESOURCE = command to .\FoxUser.dbf but I cannot seem to get VFP.EXE -C.\config.fpw to load the correct resource file and _Command.prg located on my flash drive.
Greg Reichert