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
iynque

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
derekimo

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
iynque

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
iynque

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
derekimo

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
iynque

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
derekimo

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
F5ing

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
iynque

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
F5ing

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





Similar help and support threads
Thread Forum
How to start multiple programs with ONE mouseclick !
hi ! How to start multiple programs with ONE mouseclick as we all know, you can drag a shortcut / program / file to the startup-folder, then it automatically starts when you boot. but, what can you do if you want a similar function for other programs / files, and you want to start them...
Performance & Maintenance
Delayed (5 min) start of some programs with right click explorer freez
I'm having two problems and I suspect they are related. There are come programs that simply execute a long time after the icon is clicked. By delayed, I mean I click the .exe icon for the program and nothing happens...Then 5-10 minutes later, the program I forgot about runs. What's going on...
Performance & Maintenance
Start menu not letting me right click or remove programs?
My start menu will not let me right-click any link such as "Computer" and it will not let me remove any program from the start list. Again, because it wont let me right-click it.
General Discussion
Multiple programs stop responding in Win 7
I have recurring "not responding" programs in Win 7. The affected programs are MS Office, Cad programs, Photoshop, etc. I tested my ram and all is good. Processor and temps are all excellent. Hard drive has no bad sectors. All drivers have been updated. Problem usually (but not always) goes away...
General Discussion
How do I stop recently opened programs sticking to the start menu?
Hi, I like a clean start menu and the only thing I have on it is Mozilla Firefox. Whenever I open a program, it automatically appears on it and I have to manually remove it, it's really annoying. Is there any way of stopping things automatically going there? Here's an example; I have Mozilla...
General Discussion
Win7 Opening Up Multiple Programs By Itself During Re-Start
I had a very unusual problem. I could not figure out what happened. It started out that during a session of copying many files accross from a large memory stick to a hard drive the copy process stopped responding. I went in to the control panel and told it t0 end the task. Windows...
BSOD Help and Support

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:06.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App