Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

running batch files inside another batch file

I have made a batch script to run some .exe files and .bat files. The format of the script is as follows:

a.exe
b.exe
c.bat
d.bat
e.bat
f.exe
g.exe

but the problem is when I run the script it is only executed till c.bat. d.bat is not executing. Is there any problem in writing the batch script for executing other batch files?


1 Answers

just in case you missed the full application of call

a.exe
b.exe
call c.bat
call d.bat
call e.bat
f.exe
g.exe

is how your script should now look.

like image 130
cure Avatar answered Dec 22 '25 09:12

cure



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!