Computing.Net > Forums > Disk Operating System > Call .bat files from with a .bat file

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.

Call .bat files from with a .bat file

Reply to Message Icon

Name: Stumpfed
Date: April 18, 2000 at 08:05:49 Pacific
Comment:

I have a build script that is contained in a BUILD.bat file. The script basically invokes the java compiler to build a tool. Inside that script I try to invoke another BUILD_1.bat script. The original BUILD.bat script dies after it hits the line to kick off the other BUILD_1.bat script. The rest of BUILD.bat does not execute. Basically it seems as though the flow of control does not come back to the BUILD.bat.

Does anyone have any ideas how to fix this



Sponsored Link
Ads by Google

Response Number 1
Name: browser
Date: April 18, 2000 at 09:31:34 Pacific
Reply:

To return to the original .BAT file you have to CALL the second one.

second1.bat (will NOT return)

call second1.bat (WILL return)


0
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 Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Call .bat files from with a .bat file

call another file from a .com www.computing.net/answers/dos/call-another-file-from-a-com/13741.html

is there any way to create a Splash Screen from within a batch file??? www.computing.net/answers/dos/is-there-any-way-to-create-a-splash-screen-from-within-a-batch-file/2547.html

Find and Replace with a BAT file?!!!! www.computing.net/answers/dos/find-and-replace-with-a-bat-file/3291.html