Well, a modal application goes against the multi-tasking design of the operating system, of course, so I think you would have to "pause" the batch operation until the app is done. It could wait for a registry/INI value to change, for example.
Mark
>I've got a really simple app that I need to be able to call from a batch file. I need the application to be "modal". That is, I need it to finish it's processing before returning control to the batch file. Any ideas on how to do this? This application has no UI.
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.