Start (and stop) multiple programs with one click?

iynque

New member
Local time
10:52 AM
Messages
11
Location
McHenry, IL, USA
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 Computer

Computer Manufacturer/Model Number
Apple MacBook Pro 3,1
OS
Windows 7 Home Premium 32bit SP1
CPU
Intel Mobile Core 2 Duo T7700 @ 2.40GHz Merom 65nm Tech.
Motherboard
Apple Inc. Mac-F42388C8 (U2E1)
Memory
4.0GB Dual-Channel DDR2 @ 332MHz (5-5-5-15)
Graphics Card(s)
Nvidia Geforce 8800M GT
Screen Resolution
Built-in 17" 1920 x 1200, Extended 24" 1920 x 1080
Hard Drives
Seagate ST95005620AS ATA Device (SATA) - 80 GB of 500 GB partitioned for Windows 7; remainder for Mac OS X.
Keyboard
Apple Wireless Bluetooth Keyboard (aluminum)
Mouse
Apple Magic Mouse

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self Built
OS
Win 10 Pro x64
CPU
Intel I5-2500K @3.3GHz
Motherboard
Asrock P67 Extreme4
Memory
16GB G.Skill Ripjaws X (4x4GB)
Graphics Card(s)
EVGA GeForce 750 Ti SC 2GB
Sound Card
ASUS Xonar DG 5.1 Channels 24-bit 96KHz PCI Interface Sound
Monitor(s) Displays
auria eq2367
Screen Resolution
1920 x 1080
Hard Drives
250GB Samsung 850 EVO SSD
1TB WD Blue
1TB Hitachi
PSU
SeaSonic X 650W 80 Plus Gold
Case
Corsair Obsidian 750D
Cooling
Corsair H60, Three 140mm case fans
Keyboard
Logitech Wireless Keyboard K520
Mouse
Logitech Wireless Mouse M310
Internet Speed
Wave Broadband ~ 100 dn 5 up
Antivirus
Windows Defender, Malwarebytes Premium
Browser
Edge, IE11, Chrome
Other Info
Laptop specs: HP g7-1365dx /
CPU: AMD A6-3420M APU with Radeon(tm) HD Graphics /
RAM: Crucial 8Gb (2x4Gb) /
SSD: Crucial M4-CT128M4SSD2 ATA Device/ FW 000F /
GFX: AMD Radeon HD 6520G /
OS: Windows 10 Pro x64
Welcome to the forum,

I found this for starting multiple programs at once,

http://www.sevenforums.com/performa...w-start-multiple-programs-one-mouseclick.html
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... :zip:

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


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

My Computer

Computer Manufacturer/Model Number
Apple MacBook Pro 3,1
OS
Windows 7 Home Premium 32bit SP1
CPU
Intel Mobile Core 2 Duo T7700 @ 2.40GHz Merom 65nm Tech.
Motherboard
Apple Inc. Mac-F42388C8 (U2E1)
Memory
4.0GB Dual-Channel DDR2 @ 332MHz (5-5-5-15)
Graphics Card(s)
Nvidia Geforce 8800M GT
Screen Resolution
Built-in 17" 1920 x 1200, Extended 24" 1920 x 1080
Hard Drives
Seagate ST95005620AS ATA Device (SATA) - 80 GB of 500 GB partitioned for Windows 7; remainder for Mac OS X.
Keyboard
Apple Wireless Bluetooth Keyboard (aluminum)
Mouse
Apple Magic Mouse
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 Computer

Computer Manufacturer/Model Number
Apple MacBook Pro 3,1
OS
Windows 7 Home Premium 32bit SP1
CPU
Intel Mobile Core 2 Duo T7700 @ 2.40GHz Merom 65nm Tech.
Motherboard
Apple Inc. Mac-F42388C8 (U2E1)
Memory
4.0GB Dual-Channel DDR2 @ 332MHz (5-5-5-15)
Graphics Card(s)
Nvidia Geforce 8800M GT
Screen Resolution
Built-in 17" 1920 x 1200, Extended 24" 1920 x 1080
Hard Drives
Seagate ST95005620AS ATA Device (SATA) - 80 GB of 500 GB partitioned for Windows 7; remainder for Mac OS X.
Keyboard
Apple Wireless Bluetooth Keyboard (aluminum)
Mouse
Apple Magic Mouse
Sorry, that's not working.

I've asked for some other eyes to have a look.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self Built
OS
Win 10 Pro x64
CPU
Intel I5-2500K @3.3GHz
Motherboard
Asrock P67 Extreme4
Memory
16GB G.Skill Ripjaws X (4x4GB)
Graphics Card(s)
EVGA GeForce 750 Ti SC 2GB
Sound Card
ASUS Xonar DG 5.1 Channels 24-bit 96KHz PCI Interface Sound
Monitor(s) Displays
auria eq2367
Screen Resolution
1920 x 1080
Hard Drives
250GB Samsung 850 EVO SSD
1TB WD Blue
1TB Hitachi
PSU
SeaSonic X 650W 80 Plus Gold
Case
Corsair Obsidian 750D
Cooling
Corsair H60, Three 140mm case fans
Keyboard
Logitech Wireless Keyboard K520
Mouse
Logitech Wireless Mouse M310
Internet Speed
Wave Broadband ~ 100 dn 5 up
Antivirus
Windows Defender, Malwarebytes Premium
Browser
Edge, IE11, Chrome
Other Info
Laptop specs: HP g7-1365dx /
CPU: AMD A6-3420M APU with Radeon(tm) HD Graphics /
RAM: Crucial 8Gb (2x4Gb) /
SSD: Crucial M4-CT128M4SSD2 ATA Device/ FW 000F /
GFX: AMD Radeon HD 6520G /
OS: Windows 10 Pro x64
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 Computer

Computer Manufacturer/Model Number
Apple MacBook Pro 3,1
OS
Windows 7 Home Premium 32bit SP1
CPU
Intel Mobile Core 2 Duo T7700 @ 2.40GHz Merom 65nm Tech.
Motherboard
Apple Inc. Mac-F42388C8 (U2E1)
Memory
4.0GB Dual-Channel DDR2 @ 332MHz (5-5-5-15)
Graphics Card(s)
Nvidia Geforce 8800M GT
Screen Resolution
Built-in 17" 1920 x 1200, Extended 24" 1920 x 1080
Hard Drives
Seagate ST95005620AS ATA Device (SATA) - 80 GB of 500 GB partitioned for Windows 7; remainder for Mac OS X.
Keyboard
Apple Wireless Bluetooth Keyboard (aluminum)
Mouse
Apple Magic Mouse
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self Built
OS
Win 10 Pro x64
CPU
Intel I5-2500K @3.3GHz
Motherboard
Asrock P67 Extreme4
Memory
16GB G.Skill Ripjaws X (4x4GB)
Graphics Card(s)
EVGA GeForce 750 Ti SC 2GB
Sound Card
ASUS Xonar DG 5.1 Channels 24-bit 96KHz PCI Interface Sound
Monitor(s) Displays
auria eq2367
Screen Resolution
1920 x 1080
Hard Drives
250GB Samsung 850 EVO SSD
1TB WD Blue
1TB Hitachi
PSU
SeaSonic X 650W 80 Plus Gold
Case
Corsair Obsidian 750D
Cooling
Corsair H60, Three 140mm case fans
Keyboard
Logitech Wireless Keyboard K520
Mouse
Logitech Wireless Mouse M310
Internet Speed
Wave Broadband ~ 100 dn 5 up
Antivirus
Windows Defender, Malwarebytes Premium
Browser
Edge, IE11, Chrome
Other Info
Laptop specs: HP g7-1365dx /
CPU: AMD A6-3420M APU with Radeon(tm) HD Graphics /
RAM: Crucial 8Gb (2x4Gb) /
SSD: Crucial M4-CT128M4SSD2 ATA Device/ FW 000F /
GFX: AMD Radeon HD 6520G /
OS: Windows 10 Pro 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 Computer

OS
Windows 7 Ultimate x64
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 Computer

Computer Manufacturer/Model Number
Apple MacBook Pro 3,1
OS
Windows 7 Home Premium 32bit SP1
CPU
Intel Mobile Core 2 Duo T7700 @ 2.40GHz Merom 65nm Tech.
Motherboard
Apple Inc. Mac-F42388C8 (U2E1)
Memory
4.0GB Dual-Channel DDR2 @ 332MHz (5-5-5-15)
Graphics Card(s)
Nvidia Geforce 8800M GT
Screen Resolution
Built-in 17" 1920 x 1200, Extended 24" 1920 x 1080
Hard Drives
Seagate ST95005620AS ATA Device (SATA) - 80 GB of 500 GB partitioned for Windows 7; remainder for Mac OS X.
Keyboard
Apple Wireless Bluetooth Keyboard (aluminum)
Mouse
Apple Magic Mouse
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 Computer

OS
Windows 7 Ultimate x64
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.

OK, cool. I'll play around with it and see what I can do. Thanks for your help!
 

My Computer

Computer Manufacturer/Model Number
Apple MacBook Pro 3,1
OS
Windows 7 Home Premium 32bit SP1
CPU
Intel Mobile Core 2 Duo T7700 @ 2.40GHz Merom 65nm Tech.
Motherboard
Apple Inc. Mac-F42388C8 (U2E1)
Memory
4.0GB Dual-Channel DDR2 @ 332MHz (5-5-5-15)
Graphics Card(s)
Nvidia Geforce 8800M GT
Screen Resolution
Built-in 17" 1920 x 1200, Extended 24" 1920 x 1080
Hard Drives
Seagate ST95005620AS ATA Device (SATA) - 80 GB of 500 GB partitioned for Windows 7; remainder for Mac OS X.
Keyboard
Apple Wireless Bluetooth Keyboard (aluminum)
Mouse
Apple Magic Mouse
You're welcome! Let us know what you end up with.
 

My Computer

OS
Windows 7 Ultimate x64
Back
Top