How to open multiple programs in Windows at once

Posted on April 7, 2008 at 5:22 am

Why would you ever want to open multiple programs at once in Windows? Recently, I had someone at my office ask me how they can open several desktop applications at one time without having to click on each application individually.

Normally, I would have called the person lazy and told them to stop bothering me, but since this person was performing a repetitive task and needed to open the same applications every day, I thought I would come up with a solution.

I also found that I usually open a couple of programs every morning no matter what: Firefox for Internet browsing, Outlook for checking email, and Visual Foxpro for writing code (since I’m a programmer). So instead of clicking on three icons, I decided to create what is called a Batch file to open all three applications for my at once!

You can create batch files in Windows XP and Vista very easily, all you need is Notepad!

How to create a batch file in Windows

1. Open up Notepad

2. Copy and paste the line below as the first line in the file:

@echo off

Echo off basically tells Windows to not give you any messages or popup windows when running the commands in the batch file.

3. Now we need to actually call the executables for the three programs that we want to open. So in our example, I want to open Firefox, Outlook, and Foxpro. The next three lines would look like this:

start “Firefox” “C:\Program Files\Mozilla Firefox 3 Beta 3\firefox.exe”
start “Outlook” “C:\Program Files\Microsoft Office\Office12\Outlook.exe”
start “Foxpro” “C:\Program Files\Microsoft Visual FoxPro 9\vfp9.exe”

There are three parts to each command above and here’s what it means:

start - That is the command used in batch files to open programs

“App Name” - The second parameter is the name of the application you are going to be opening. You can put any name you like here since it only uses this parameter for title purposes.

“App Path” - The last parameter is the actual path to the executable file for the program. You can always find the path of a program by right-clicking on the icon and going to Properties. For example, if I wanted to know the path to the executable file for Firefox, I would right-click and choose Properties.

properties

Now all I need to do is look at the path in the Target box and simply copy and paste that into my batch file script.

firefox path

So now your batch file should look something like this:

batch file

Now all you have to do is actually save it as a batch file, which is very easy. Go to File and click Save As. Give your file a name like “TEST.BAT“. Note that I added the .BAT to the file name. Lastly, change the Save As Type to All Files instead of Text file.

save batch file

That’s it! You should now go ahead and test out your batch file and see if all of your programs load up. One thing I have found is that loading applications via a batch file is much faster for some reason. I’m not really sure why, but my Firefox, Outlook and Foxpro apps all load within 2 to 3 seconds whereas if I open them up individually, each one takes at least 5 seconds.

Anyone else ever create their own batch file and if so, what did you use it for? Enjoy!

Technorati Tags: , , ,

If you enjoyed this post, make sure you subscribe to my RSS feed!

» Filed Under Computer Tips

Related Posts

15 Responses to “How to open multiple programs in Windows at once”

  1. Phil said on :

    I can’t seem to get it to open my applications. I have local admin rights if that helps.

    This is what I have in my batch file

    @echo off
    start“Outlook”“C:\Program Files\Microsoft Office\Office11\Outlook.exe”
    start“Firefox””C:\Program Files\Mozilla Firefox\firefox.exe”

    Is this correct?

    Am I missing spaces or something.
    Also in your example is it supposed to say office12 my exe files are in office11 folder?


  2. akishore said on :

    Hi Phil,

    I think your only problem is the spaces. It should look like this:

    @echo off
    start “Outlook” “C:\Program Files\Microsoft Office\Office11\Outlook.exe”
    start “Firefox” ”C:\Program Files\Mozilla Firefox\firefox.exe”

    Notice that I just added spaces between start and word “Outlook” and then between “Outlok” and the phrase “C:\Program…\”.

    And that’s fine that your Office executable are in Office11, it just depends on which version you have installed on your computer. Office12 is for Office 2007.

    Let me know if you were able to get it working or not. Thanks!


  3. Phil said on :

    Okay, I was wondering if the office12 was for 2007.

    I added the spaces and I get 1 error for each of programs I am trying to open. I copied the targets directly from the properties window.

    This is the message I get:
    Windows cannot find oFirefoxo. Make sure you typed the name correctly, and then try again. To search for a file,…

    Any ideas?

    Thanks!


  4. akishore said on :

    Hi Phil,

    What is the version of your OS? Are you running Windows XP or Vista? I think it may be an issue with the syntax, so try the following:

    @echo off
    start “C:\Program Files\Microsoft Office\Office11\Outlook.exe”
    start “C:\Program Files\Mozilla Firefox\firefox.exe”

    Basically, I removed the first parameter from the start line so it should just read start and then a space and then the path name to the exe file in quotes. Try that and let me know.


  5. Phil said on :

    I’m running Windows XP Pro SP2 with all the latest updates. Lenovo T60
    I changed my batch file and it still didn’t work and I figured I’d just copy and paste what you posted and it still nothing.
    Could their be any AV software that could be blocking this?
    Again thanks for your help


  6. Phil said on :

    hm I was messing around with this some more. I have a folder on my Desktop with FirefoxPortable

    start “” “C:\Documents and Settings\pgastwirth\Desktop\firefox 3 beta5\FirefoxPortableTest\FirefoxPortable.exe”

    This opens up fine. But I still get errors for these

    start “” “C:\Program Files\Microsoft Office\Office11\Outlook.exe”
    start “” “C:\Program Files\Mozilla Firefox\firefox.exe”

    I keep checking my file paths to make sure that they are correct.
    Oh well, I’ll keep trying. Eventually I should get. Something can’t be right.
    Thanks


  7. Phil said on :

    I figured it out. For some reason when I copied and pasted the code from you site. The quotation marks were different characters than when I actually press the quotation key on my keyboard. After I replaced the quotation marks, this batch worked. If anybody wants to open a website add this

    Start “” “C:\Program Files\Internet Explorer\iexplore.exe” http://www.online-tech-tips.com

    I’m guessing this will do the same for Firefox but I have not personally tested this. Now I’m going to try to get firefox to open up multiple tabs.

    Thanks for all your help with this. I knew it was something simple.


  8. Dragan said on :

    Works absolutely perfect. Thanks a lot.


  9. Bill P said on :

    how would you add a password in the outlook string. I have a password I have to enter once outlook opens.


  10. akishore said on :

    Phil, glad you got it working!

    Bill, I didn’t know it was possible to password protect Outlook! Are you using a third party program? And you have to enter a password into Outlook before you can view emails?


  11. Guru said on :

    Couple of things,
    1. Password protect Outlook — only third Party but then if you put it into a BAT file and kept it in plain text you would be defeating the purpose :) just a thought
    2. To open Firefox in multiple tabs add the different sites with a Concat symbol between the diff urls ( its a pain IF you do work with multiple wdws of Firefox - whenever you hit Ctrl N it starts the new wdw with two tabs populated)
    Hey Thanx for the BAT


  12. Chakri said on :

    C:\progra~1

    instaed of program files


  13. me me said on :

    works with folders too.
    Use the entire folder name.


  14. -=m-tek=- said on :

    This works for me

    @echo off
    Start E:\downloads\portables\fox\FirefoxPortable\Firefox1.exe
    Start E:\downloads\portables\fox\FirefoxPortable\Firefox2.exe
    Start E:\downloads\portables\fox\FirefoxPortable\Firefox3.exe

    I have all my portables on a drifferent drive!


    Pingbacks
  1. Cómo abrir varios programas al mismo tiempo en Windows » zona de software blog freeware programas shareware gratis internet pc windows bajar descargar utilidades multimedia programas gratis Says:

    [...] en: Online Tech Tips. [...]

Please post your comments/suggestions!