Sorry, I wasn't clear enough concerning command. I'm thinking of the DOS prompt. The program will be run from the DOS prompt in a batch file and I want it to be able to place a status message there if any problems or if completed.
If you use the run ! command, it tries to execute what is placed in the DOS prompt. I want a simple message to show there without "Bad command or filename" below it. (Actually, how do you put the "Bad command or filename" on the screen? Similar to that.)
Thanks
>>I am writing a simple app to move some files. the program will be called from the command prompt. Is there any way to dump text to the command prompt from within VFP? I thought of the "run" command, but I don't see any way to simply place text there without the shell trying to run it.
>>
>>Any ideas are appreciated.
>
>A sample:
>
>* test.prg
>
>*** some code here
>ACTIVATE WINDOW COMMAND
>KEYBOARD ("USE mytable in 0 ALIAS test")
>KEYBOARD "{ENTER}"
>*** some other code here
>
Steve Howie, owner
DaSH Technology
Denver, CO