Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open a DOS windows
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00721224
Message ID:
00721262
Views:
9
This message has been marked as the solution to the initial question of the thread.
Hi Diane,

The easiest way would probably be to wrap the call to your dos app in a batch file with a Pause statement at the end, for example:
runmyexe
pause
exit
Another option would be, while the dos window is open, to click on its properties and disable "close on exit", forcing the user to actually close the window.

Good luck!

Alex



>Hi,
>
>I used the api_apprun that I found in the process.vcx from Ed Raugh from the download section. I really like it thanks's Ed.
>
>My question is, I use it to run an exe which run from a DOS windows. Once the programe end, the DOS windows dissapear. I would like the DOS windows to stay open because the exe writes comments in DOS to tell the user if the program worked correctly or not (for example it would say how many rows where treated succesfully and how many with errors). Is there a way I can leave the DOS windows open until the user close it manually?
>
>
>Diane Robitaille eng.
Low-carb diet not working? Try the Low-food diet instead!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform