Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_Command.prg
Message
From
15/11/2015 13:26:52
 
 
To
15/11/2015 13:19:37
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01627460
Message ID:
01627463
Views:
63
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform