Any way to pause in a system command window before returning to mel script?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm using the system command to call a batch file. I want to be able to have the batch file command window stay on screen once it's done, so that I can see the output. I use system("start ..." to make it show the command window, and supposedly using start also makes the calling script wait until the command has finished before proceeding.
In the batch file I have tried putting 'pause' at the end, or requesting user input. This works in that the command window does stay open, waiting for me to hit a key or enter the user input. But the mel script is not waiting for that command window to close. It continues on, as though the window has already closed. Anyone know how to do it so that the mel script waits until I close the command window?
Thanks!