>However, it doesn't work. Everything comes back. I just tried your version, as well, and it also has everything come back. But if I do it manually, it works. I'd say they've overprotected us against ourselves. I'll post this as a bug and see what they say.
>
Even if you do it manually, the commands will come back (on VFP6). If you delete lines (or everything) from the command window, they always reappear the next time you execute a command.
It is the same thing as changing a command that was previously executed...the new version of the line goes to the bottom, and the original line is redisplayed on the screen as it was originally.
Steve Gibson