>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.
I use one resource file per project, specified in different config.fpw files. To specify another config.fpw, add -CYourPath\YourConFigFile as a parameter to VFP9.
From Help on Command Window:
The contents of the Command window are saved to a file, _command.prg, automatically unless the noRecentDocHistory system policy is enabled or you are not using a FoxUser resource file. You can clear the window by selecting Clear from the Command Window shortcut menu. To enable its use by multiple instances of Visual FoxPro, the file is only read when starting Visual FoxPro, and written when exiting Visual FoxPro. The file is located in the same directory as the FoxUser resource file. You can determine or change the location of the resource file from the Options dialog box, File Locations tab, or via language using SET("RESOURCE") or SET RESOURCE respectively.