Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

_command.prg

Status
Not open for further replies.

michaelkatz

Programmer
Sep 1, 2002
50
GB
All of a sudden a file, _command.prg, appeared. I recently migrated to a mew computer and may have changed a setting when I reinstalled VFP 7.0

Any one know what I did ?
 
This is your command window history in a .prg
Nothing dangerous.

Rob.
 
VFP7 and later use this file to fill the command window with all the commands that you have run in the command window.

It's a very useful addition to the way VFP works.

If you are working in a LAN situation, I would suggest that you put the file in a folder somewhere on the LAN. Here's what the help says:
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.
Stewart
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top