>I'll try the batch file approach.
>
>As for the "dos windows" property, well I don't think the user has time to click and change it. Sometime it runs fast. I was hoping I could change that property directly in the api_apprun itself while calling the progam. Or maybe within a global windows property. If anybody knows it being feseable please let me know.
>
You might want to play around with having VFP control the DOS console; there's a FAQ I wrote a while ago on doing this; otherwise, either pausing in a batch file or redirecting console output via either a pipe, or by a minor modification of one of the structures passed to the CreateProcess() call to accept a file handle opened for writing by your application could be made. Try piping the output directly using > or >> first.