Create A Batch File To Open Multiple Programs At Once

Topics Computer, Firefox on May 9th, 2008

Ever have the need to open more than one program or at the same time?

Say it’s the beginning of the month and time to pay those dreaded bills. You know you need , and or Explorer open. Instead of opening them up one by one, you can easily create a batch file that will open all three programs at once.

And while your at it, why not have open the spreadsheet file you use for tracking your budget and the open to your Bank’s home page. Here’s how to do it…

First let’s take a look at a batch file I created that will just open , and :

NOTE: Examples and file paths are from Vista. XP paths will probably be different for some programs as well as for MS ( 2007 is used in the example).

start /d C:\\\calc.exe
start /d “C:\\ .exe
start /d “C:\\ \Office12″ .EXE

Pretty simple.

The above , start tells to open a separate window to run the specified program.

The /d switch tells start the path of the program. For starting and , notice that the paths are in quotes, which is needed when there is a space in the file path.

Now it’s great that all three programs open, but since it’s time to pay your bills, you need to have open that budget spreadsheet and open to your Bank home page so you can log on and access you checking .

Here’s how the commands look in the batch file to do this:

start /d C:\\\ calc.exe
start /d “C:\\ .exe https://www.bankofamerica.com
start /d C:\\spreadsheets budget.xls

To open Bank Of America home page with , just add the URL to end of the as shown above using https://www.bankofamerica.com.

To open the spreadsheet, budget.xls you don’t need to first open . budget.xls can be opened directly using the start , as long as the extension or file type is associated to the program.

If you need to open more than one URL, say to , just add the URL like this (make sure you use a space in between URL’s):

start /d “C:\\ .exe https://www.bankofamerica.com www..com

Now you’re probably saying “that’s great, but how do I create a batch file?”.

That’s the easy part.

* Just open up or your favorite text editor.
* Copy the commands from above and modify them to use which ever program or files you want open. Make sure when you copy file and folder paths that have spaces, to use quotes.
* Then save the file with any name and a .bat extension (make sure it’s not saved using .txt as the file type extension)

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • StumbleUpon
  • Facebook
  • Google
  • Furl
  • Live
  • MisterWong.DE
  • NewsVine
  • Reddit
  • Slashdot
  • Technorati
  • YahooMyWeb
  • BlinkList
  • description
  • Fark
  • Netvouz
  • Spurl
  • MisterWong
  • Webnews.de
  • E-mail this story to a friend!

Tags:, , , , , , , , , , , , , , , , , ,

Related posts

Leave a Reply