Tuesday, August 11, 2009

Calling batch file within another batch file

Say we want to call bat1.bat within bat2.bat. We can just call bat1 within bat2.
But the problem is that the control doesnot comeback once it calls bat2. The statements after bat2 within bat1 are not run at cmd. To overcome this we need to use the "call" command while calling bat2.

No comments:

Post a Comment