calling a bat file...
Moderator: DosItHelp
-
- Posts: 32
- Joined: 08 Jul 2011 03:38
calling a bat file...
Can we call one bat file from another bat file...
-
- Posts: 32
- Joined: 08 Jul 2011 03:38
Re: calling a bat file...
hey thanks a lot..
But since I am new can you please give me a working example if you have some time.?
Please apologize for this inconvenience.
Thanks,
San
But since I am new can you please give me a working example if you have some time.?
Please apologize for this inconvenience.
Thanks,
San
Re: calling a bat file...
hai
i am giving you example for calling a batch file,
Ex: call calc
this will call default calculator ,
thank you
(create a new batch file and just copy paste " call calc" save it and execute, it will call calculator)
i am giving you example for calling a batch file,
Ex: call calc
this will call default calculator ,
thank you
(create a new batch file and just copy paste " call calc" save it and execute, it will call calculator)
-
- Posts: 287
- Joined: 16 Mar 2011 19:17
- Location: scriptingpros.com
- Contact:
Re: calling a bat file...
....or script to script
BATCH1.BAT
BATCH2.BAT
BATCH1.BAT
Code: Select all
@echo off
echo;Hello World
Call batch2.bat
exit /b
BATCH2.BAT
Code: Select all
@echo off
echo;I was called from BATCH1.BAT
exit /b