Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Call another batch file  (Read 2390 times)

0 Members and 1 Guest are viewing this topic.

sabercats

  • Guest
Call another batch file
« on: February 22, 2007, 05:27:04 PM »
How do I write a runall.bat batch file to run cmd1.bat after finish, it will run cmd2.bat , after it finish running cmd2 then will cmd3.bat and quit . i am using windowsxp

c:\log\runall.bat

C:\log\A\cmd1.bat

C:\log\B\cmd2.bat

C:\log\C\cmd3.bat


« Last Edit: February 22, 2007, 05:28:54 PM by sabercats »

g_p_l

  • Guest
Re: Call another batch file
« Reply #1 on: February 22, 2007, 05:50:44 PM »
easy
c:\log\runall.bat  -----
 
call C:\log\A\cmd1.bat
 
call C:\log\B\cmd2.bat
 
call C:\log\C\cmd3.bat



Graham