>I didn't know that. Thanks Sergey.
You can use this to your advantage - have a separate resource file for each project (and Set Resource to it, of course), and then each of them will keep its own _command.prg - though, it will load the one which is in the directory where you start VFP. But you can always open _command.prg to look up what you last did.
>>Not necessarily. It's in the same folder as foxuser.dbf - JUSTPATH(SET("Resource",1))
>>
>>>home(7)+_command.prg
>>>
>>>>Can u tell which file the command window history commands are stored?