[jboss-user] [Beginners Corner] - Re: Terminate Batch Job

PeterJ do-not-reply at jboss.com
Thu Oct 5 21:22:03 EDT 2006


Look in run.bat, the next to the last line states:

if "%NOPAUSE%" == "" pause

The pause command (look it up in Windows help) displays the message in question.

Usually, a developer places a line like this at the end of a batch file to prevent the command window from closing automatically if the user double-clicked the batch file in Explorer, rather than running it from a command prompt.  If you like, you can edit the file to remove the line, or you can set the NOPAUSE environment variable to any value and the pause is skipped.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976462#3976462

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976462



More information about the jboss-user mailing list