Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Batch file
Name: Blane Date: September 25, 2003 at 09:36:31 Pacific OS: Windows 2000 CPU/Ram: P4 / 512
Comment:
I've tried several ways to get a batch file to install a few programs depending on the support group, including calling another batch file within another batch file. But everytime after the first app gets installed it closes out the batch file as well. Is there a way to keep the batch file alive to continue installing the other apps
Name: JackG Date: September 25, 2003 at 12:50:06 Pacific
Reply:
Are you just invoking the second batch file are are you really calling it with a CALL statement? The CALL statement allow control to return back to the calling batch file. Invoking a second batch file with just its name and parameters does not return control back to the invoking batch file when done.
Any invoking of a secondary batch file in a chain of batch files breaks the chain. All levels have to have CALL statements. Most applicaion "install" batch files are not written to be CALL'ed, just invoked from a command line, so each one has to be modified to use CALL statements.
0
Response Number 2
Name: Blane Date: September 29, 2003 at 04:25:17 Pacific
Reply:
No I was call'ing from the second batch file as well. I was calling the app's setup file......so maybe that's the reason it doesn't return. I may have to resort to perl....thought maybe I could just do this quick, and dirty.
Summary: I need help with writing a batch file that returns an error code to another application (app1). My batch file is called by another application, when my batch file runs, it calls a VBS Script. This scr...
Summary: Hi i have made a batch file which installs a bit of software and then runs it. i need a command which after the first line of the batchfile has been run it waits 20 seconds and then the second line ru...