Launch Multiple Programs with One Click

Post #248 categorized as Technology, last updated on Nov 5, 2007
Tagged with optimize, organize, software, streamline, tricks, tutorials, windows

Speed up your workflow by launching your favorite programs in one click using batch (.bat) files:

  1. Create a folder and add shortcuts to your favorite programs.
  2. Rename the shortcuts so that each consists of a single word.
  3. Create a text file and change the name to something.bat.
  4. Right-click on the .bat ("batch") file and select "Edit".
  5. Emulate the following template according to your specific programs.
rem   comments should begin with rem
rem   note: this file launches all of my favorite apps!
rem   note: replace the names below with your own..

@echo off

   start %SystemRoot%\system32\cmd.exe
   start firefox http://google.com/
   start dreamweaver
   start photoshop
   start winamp
   start notes.txt

@echo on

That’s all there is to it! Of course, there are many other neat things you can do with batch files, but we leave that for you to discover elsewhere. You may want to create additional batch files for various kinds of work. For example, you could create one batch file for web-development apps, another for graphic-design apps, and so on. All shortcuts and batch files may be placed in the same folder. Then simply customize shortcuts to your various batch files and use them to consolidate your quick launch and clean up your desktop!

Subscribe to Perishable Press


7 Responses

TopLeave a comment

[ Gravatar Icon ]

#1Ankit

This was helpful !! thanks !! Good work !

[ Gravatar Icon ]

#2nonhocapito

For those who want to use this in a batch file with commands surrounded by quotation marks, such as, for example

start “c:\program files\mycommand.exe”

well, it wont’ work unless you also indicate the title for the cmd window!

It must be the first thing you give to the Start command otherwise Start will take your command as the title, and won’t find anything else to launch.
So the right syntax should be:

start “my title” /B “c:\program files\mycommand.exe”

The /B switch will tell cmd to also close its window right away.
Hope this helps someone, it took me a few to figure it out.

[ Gravatar Icon ]

#3Jeff Starr

@nonhocapito: Thank you, Sir! That is very kind of you to share with us! Cheers! :)

[ Gravatar Icon ]

#4Robert

Neat O

I would like my little tiles on my task bar to be in a certain order. If I run it as described, the order is dependant on how fast the app can load. I wanted to put a small delay between each launch. I found CHOICE, but it seems to hang if the batch file’s window looses focus:

echo Hello Word
choice /cY /tY,10 /n
start "Starting Outlook" /B "OUTLOOK.LNK"
choice /cY /tY,10 /n
start "Starting IE" /B "IE.LNK"
echo and so on…

The choice after outlook hangs, I have to press the Y instead of it defaulting in 10 seconds

[ Gravatar Icon ]

#5Jeff Starr

Mad skills, Robert — thanks for sharing! The delay would definitely help reduce processor loads and prevent crashes, especially for older computers and/or when many programs are being launched. Too bad there’s not a way to keep the window focused or “Always on Top”..

[ Gravatar Icon ]

#6Jerrod

A better way of delaying a batch job (an old trick) is to ping localhost. you can change the duration of the delay by increasing or decreasing the number of pings using the /n # switch. (#) being the number of pings.

For example:
ping localhost /n 2

Share your thoughts..

TopRead official comment policy

The rules are simple. Comment intelligently. Stay on-topic. Don’t spam! Suspected spam will be deleted. Use your real name or nickname, not a site name or business name. Using a site name or business name is a good way to get your link or comment removed. Certain comments are moderated; if your comment does not appear after several days, or if you wish to comment privately, contact me. Also, by posting a comment, you grant this site a perpetual license to reproduce your comment, name, and website URL. Lastly, you may use basic HTML markup, but please do not use <pre> tags. Instead, wrap your code with <code> tags. Use a new set of <code> tags for each code term or phrase, as well as for each individual line of code (i.e., multiple lines of code require multiple code tags). Please see the complete comment policy for more information.