Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Start (and stop) multiple programs with one click?


15 Jul 2012   #1

Windows 7 Home Premium 32bit SP1
 
 
Start (and stop) multiple programs with one click?

I want to be able to quit several programs that are usually running in the background with one click so I can devote more resources to resource-intensive programs. When I'm done, I want to bring all those programs back with one click.

What's the best way to accomplish this? If not quitting them, how can I at least launch them all at once, rather than repeatedly diving into the Start Menu to open each one?


My System SpecsSystem Spec
.

15 Jul 2012   #2

Microsoft Community Contributor Award Recipient

Windows 7 Pro 64 SP1
 
 

Welcome to the forum,

I found this for starting multiple programs at once,

How to start multiple programs with ONE mouseclick !
My System SpecsSystem Spec
15 Jul 2012   #3

Windows 7 Home Premium 32bit SP1
 
 

Quote   Quote: Originally Posted by derekimo View Post
Welcome to the forum,

I found this for starting multiple programs at once,

How to start multiple programs with ONE mouseclick !
I saw that and tried it. It didn't work for me. No errors, and no programs launched. I used to write batch files for Windows 98 and a little for XP too, but then I switched to Mac. I have no idea how that command works or why it produces no results, either errors or successfully launched programs.

...If you want to look at it closely and either explain it or debug it, I would really appreciate it...

EDIT: Here's exactly what happens when I try to run my batch file:


And the whole of my batch:
Code:
FOR %%X IN (%userprofile%\LaunchEm\*.*) DO rundll32 shell32.dll,ShellExec_RunDLL %%X
My System SpecsSystem Spec
.


16 Jul 2012   #4

Windows 7 Home Premium 32bit SP1
 
 

I know it's only been 18 hours since I first posted, but... really? No ideas? Anyone?

On my Mac, I do the same thing with Automator. It's as easy as dropping in "Quit Application" and "Launch Application," and then saving it as a new app. One click and it's all taken care of for me. Is there anything like this on Windows?

I found Jitbit Macro Recorder (http://www.jitbit.com/macro-recorder/) which claims to be "Automator for Windows," but surely there's a way to launch and quit programs without spending $30-$60 for the privilege.
My System SpecsSystem Spec
16 Jul 2012   #5

Microsoft Community Contributor Award Recipient

Windows 7 Pro 64 SP1
 
 

Sorry, that's not working.

I've asked for some other eyes to have a look.
My System SpecsSystem Spec
21 Jul 2012   #6

Windows 7 Home Premium 32bit SP1
 
 

Thanks!

For now I'm using a folder full of shortcuts for launching the programs, but I would still like a one-click solution, and I have no way to shut them down other than going to each one and killing it myself. :/
My System SpecsSystem Spec
21 Jul 2012   #7

Microsoft Community Contributor Award Recipient

Windows 7 Pro 64 SP1
 
 

You're welcome, I'm sure someone will post something, our members never cease to amaze me with the vast array of knowledge they have.
My System SpecsSystem Spec
21 Jul 2012   #8

Windows 7 Ultimate x64
 
 

Instead of this:

Code:
FOR %%X IN (%userprofile%\LaunchEm\*.*) DO rundll32 shell32.dll,ShellExec_RunDLL %%X
Try this (same line but inserted two quotation marks):

Code:
FOR %%X IN ("%userprofile%\LaunchEm\*.*") DO rundll32 shell32.dll,ShellExec_RunDLL %%X
My System SpecsSystem Spec
21 Jul 2012   #9

Windows 7 Home Premium 32bit SP1
 
 

Success! Thanks! I thought about that, but when I went to my batch file obviously %userprofile% has no spaces so I figured it was okay. My mistake!

So that takes care of launching several programs. I still don't know how to easily quit them.
My System SpecsSystem Spec
21 Jul 2012   #10

Windows 7 Ultimate x64
 
 

Yeah, it wasn't immediately obvious to me either when I looked at your batch line, but looking at the screenshot nailed it ('C:\Users\Andrew' instead of 'C:\Users\Andrew Williams\...'). Over the years I've gradually come around to making sure I use the quotes whether they're needed or not; you never know how a parameter will be expanded (including the *.* in your code). On top of that it's usually a pain in the rear to debug when they're missing when needed.

Type taskkill /? in a command prompt. You can use some form of that in a batch file to kill your apps. Not sure if you'll be able to get your stop.bat as versatile or 'elegant' as your start.bat, but at least it'll be able to get it done with a single command.
My System SpecsSystem Spec
Reply

 Start (and stop) multiple programs with one click?




Thread Tools




Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:38 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33