Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem running .bat on server

Status
Not open for further replies.

danmul

Programmer
Jan 16, 2003
89
IE
Hi,
Not sure if this is the correct forum for this but . . . I can run a .bat on server if I run it from the command line on the server and it works fine. If I run it from my application it fails halfway through (I cannot see wht it fails as it runs in the background). I s there a command that I can put in the .bat that will show the results on the screen no matter where I run it from?

Thanks,
Daniel.
 
at the end of the batch file put

PAUSE

this will leave the Command window open untill you press space bar allowing you to see at which point it messes up.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top