Launching multiple applications with a single command/script/shortcut

2

I realized a few days ago that every time I sit down at work, I do a few things after unlocking my computer. First, I open up Firefox, then I open up Chrome, then I log in to Digsby. I realized I could probably save repeating this daily by writing a small batch script to open up Firefox and Chrome , but I couldn't figure out how to make it work.. and since the whole effort is to save time I don't want to bash my head around in the windows command prompt to do it. I also tired this in powershell but ran in to a bunch of security nonsense.

Is there a way to do this that I am missing? Bonus points if somebody has figured out how to manipulate Digsby via COM , scripting, or python =)

Bill

Posted 2011-01-04T16:04:25.077

Reputation: 123

To make a batch file just list each program file you want to start on a separate line, then put it or a shortcut to it in your Startup folders. Windows also has a START command with more options which can be used for each program -- type help start at a command prompt for usage info. – martineau – 2011-01-04T18:58:43.377

Answers

3

You could also try this idea

http://lifehacker.com/5651042/choose-which-applications-launch-on-startup-with-autohotkey

You can compile and AHK Script to an EXE File and link it in your startup folder (if you don't want to keep Autohotkey)

patricks

Posted 2011-01-04T16:04:25.077

Reputation: 616

3

Found it here: Knowledge Sutra - Start Multiple Programs With One Shortcut - Windows XP

Basically, in your batch file (*.bat), '@echo off' shuts off output on the command prompt, 'rem' lines are comments, 'cd' changes to a directory, 'start' starts up the program without waiting for that program to finish. If you just had 'foo.exe' instead of 'start foo.exe' then the command prompt would stall until you closed the foo program. 'exit' closes the command prompt so you don't get left with an empty black window staring at you.


@echo off
rem SLASH'EM
cd C:\games\slashem-v0.0.7e7f3
start slashem.exe

rem Firefox
cd C:\Program Files (x86)\Mozilla Firefox
start firefox.exe

exit

E.T.

Posted 2011-01-04T16:04:25.077

Reputation: 287

2

You can place a shortcut of any application you want to start automatically inside

%systemdrive%\users\%username%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

For example

c:\users\administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

tmow

Posted 2011-01-04T16:04:25.077

Reputation: 165

+1 If you want programs to automatically start up when you login, then add them the startup list - that's what it's designed for. – Ian Boyd – 2011-01-04T16:48:02.213

1I'm looking for a single click to open multiple applications. I don't actually log-in every time, I frequently just unlock the screen. – Bill – 2011-01-04T21:39:41.970

2

The script below may help to you. Here it is running a sample program:

As a system engineer or as a developer sometimes you may need to run multiple programs at once as a sequence or, one by one after some intervals. Following is a VB script created for specific purpose.

weAdmin\imAdmin - Specific use for "Run As"
C:\Test\Test1\Test1.exe - Path and file name
admin1234 - Password for the specific user.
100 - Some waiting time to initialize 'run as'
1000 - Waiting time until next program run. (Configure this as you want)
Option explicit
Dim oShell
set oShell= Wscript.CreateObject("WScript.Shell")

oShell.Run "RunAs /noprofile /user:weAdmin\imAdmin ""C:\Test\Test1\Test1.exe"""
WScript.Sleep 100
oShell.Sendkeys "admin1234" 
oShell.SendKeys "{ENTER}"
WScript.Sleep 1000

oShell.Run "RunAs /noprofile /user:weAdmin\imAdmin ""C:\Test\Test2\Test2.exe"""
WScript.Sleep 100
oShell.Sendkeys "admin1234"
oShell.SendKeys "{ENTER}"
WScript.Sleep 1000

oShell.Run "RunAs /noprofile /user:weAdmin\imAdmin ""C:\Test\Test3\Test3.exe"""
WScript.Sleep 100
oShell.Sendkeys "admin1234"
oShell.SendKeys "{ENTER}"
WScript.Sleep 1000

oShell.Run "RunAs /noprofile /user:weAdmin\imAdmin ""C:\Test\Test4\Test4.exe"""
WScript.Sleep 100
oShell.Sendkeys "admin1234"
oShell.SendKeys "{ENTER}"
WScript.Sleep 1000

Wscript.Quit

Kevin

Posted 2011-01-04T16:04:25.077

Reputation: 21

1

Welcome to Super User! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.

– Bob – 2012-07-09T15:06:03.650

1Included it for you, please try to include it next time to prevent link rot. – Tamara Wijsman – 2012-07-10T00:40:50.583

1

7apl is a free multi program launcher that lets you set up groups- you can run anytime not just at start up.

Colin Hayward

Posted 2011-01-04T16:04:25.077

Reputation: 11