Computing.Net > Forums > Windows NT > Runing multiple batch files in NT4.0

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.

Runing multiple batch files in NT4.0

Reply to Message Icon

Name: Hoss
Date: June 20, 2000 at 10:12:00 Pacific
Comment:

I am trying to set up a batch file to run 3 separate batch files....
basically the master batch file reads..

file1
file2
file3

where file1 is file1.bat, file2 is file2.bat, etc.

The master batch file will run file1.bat but then stops there. How do i get it to run the next two without hanging up.

I have tried the command /c file1....2....3 on separate lines without sucess. Would appreciate any help



Sponsored Link
Ads by Google

Response Number 1
Name: chris
Date: June 20, 2000 at 12:46:38 Pacific
Reply:

Try having the first file call the second, and the second call the third. Just put the call at on the last line of each file.

Hope this helps,

Chris


0

Response Number 2
Name: Jon
Date: June 21, 2000 at 08:46:04 Pacific
Reply:

You can also have the primary batch file "call" the other batch files instead of just run them by their names.

Ex: in main batchfile
call batch1
call batch2
call batch3

If you leave out the words call then when the batch1 file terminates, it causes the main batch to also termintate.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows NT Forum Home


Sponsored links

Ads by Google


Results for: Runing multiple batch files in NT4.0

Error Loading OS in NT4.0 www.computing.net/answers/windows-nt/error-loading-os-in-nt40/21376.html

NO System Standby in NT4.0 www.computing.net/answers/windows-nt/no-system-standby-in-nt40/550.html

Max no of process in NT4.0? www.computing.net/answers/windows-nt/max-no-of-process-in-nt40/13710.html