|I'm trying to call a batch file from another batch file. Thus:|
B1 = first batch and will be called via Windows Task Scheduler. This will pass a variable to B2
B2 = contains other commands
Call B2.bat %var1%
Call B2.bat %var2%
The first line Call B2.bat %var1% is being called and executed but it doesn't execute the second line. Can you tell what I'm missing?
B2.bat basically closes after executing commands. Thanks!