Thursday 25 August 2011

How to Create a batch file to open multiple programs at once




Have you ever tried to open multiple programs at a same time?  We can create a batch file so that we can open three applications at a same time consistently. Generally we open three applications individually and its a  time consuming process as we have to search the windows shortcuts on desktop and then open the application say if you want to open Internet Explorer, Calculator, Ms-word three at a same time how? I have a trick to do that. here it is…….


First i am creating a batch file which will open Excel, Calculator and Firefox. I am using windows vista. XP will have some different paths say ms-excel.


start /d C:\Windows\System32\calc.exe
start /d “C:\Program Files\Mozilla Firefox” firefox.exe
start /d “C:\Program Files\Microsoft Office\Office12″ EXCEL.EXE


Now, The above command start opens a separate window to open the program. and /d tells start command the path of the program. notice that firefox and excel are in inverted quotes which is needed when there is a space in the path.


Now, lets try to open www.satish-tips.blogspot.com , and calculator and excel at a time. It should be like this when we put in notepad.

start /d C:\Windows\System32\calc.exe
start /d “C:\Program Files\Mozilla Firefox” firefox.exe
http://www.satish-tips.blogspot.com
start /d “C:\Program Files\Microsoft Office\Office12″ EXCEL.EXE

Just add the site which you want to open under the firefox command what ever it may be it sholud contain http://www.——/com. Similarly if you want to open two websites at a time then the command should be like this

start /d “C:\Program Files\Mozilla Firefox” firefox.exe
http://www.satish-tips.blogspot.com www.google.com

Now, let us create a batch file so that we open a application program which opens more than three programs at a time.

1) Just open Notepad
2) copy the above commands in the notepad and make changes according to your needs and they should contain all the quotes and spaces as we have done it above.
3) Save the notepad file as .bat extension but not as .txt. to do this just type save as and give a file name say application.bat and save it.

Finally open the .bat file where u have saved it. This will really save lot of time. I am using 10 applications at a time now. hope you like this……

0 comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...

© 2011 IT Edition's Blog, AllRightsReserved.

Designed by ScreenWritersArena