I think you can do it. Take a look at Message #
576487.
>Hello,
>
>I try to get the text that I have typed in the command window because I want to use it for several development tools.
>I know that when I quit VFP, the text that I typed into the command window will be stored to the file _Command.PRG. But until I quit, the text is not stored in any file I found so far. There are some temporary files in the windows temp directory but they are all locked while VFP is open.
>
>I also tried something like this:
>KEYBOARD "{SHIFT+UPARROW}"
>KEYBOARD "{SHIFT+UPARROW}"
>KEYBOARD "{SHIFT+UPARROW}"
>
>and then, smart as I am:
>KEYBOARD "{CTRL+C}"
>
>But this won't copy the highlighted text.
>
>Is there another way, or shall I just forget about it?
--sb--