Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › shortcut to end and then reopen multiple processes?
New Posts  All Forums:Forum Nav:

shortcut to end and then reopen multiple processes?

post #1 of 4
Thread Starter 
Is there any way [macro or such?] to shut down a couple of programs, then reopen when I need them? I always exit out of FahWin32GPU and bittorrent so I can play Bad Co 2 and it gets tedious closing and reopening all the time. Would very much appreciate any help.
BENDER-PC
(17 items)
 
  
CPUMotherboardGraphicsRAM
i3-540 @ 4.23 GHz Gigabyte GA-H55-USB3 GTX760 SSC 4gb G.Skill Ripjaws DDR3 1600 
Hard DriveHard DriveHard DriveOptical Drive
Sandisk Extreme Samsung F3 Samsung F4 LG Super-multi 
CoolingOSMonitorPower
Xigmatek HDT-S1283 Windows 8 x64 S22B310B OCZ Fatal1ty 550W 
CaseMouseMouse PadAudio
CoolerMaster HAF 912 Mionix Naos 3200 Steelseries Brainwavz HM4 Headphones 
  hide details  
Reply
BENDER-PC
(17 items)
 
  
CPUMotherboardGraphicsRAM
i3-540 @ 4.23 GHz Gigabyte GA-H55-USB3 GTX760 SSC 4gb G.Skill Ripjaws DDR3 1600 
Hard DriveHard DriveHard DriveOptical Drive
Sandisk Extreme Samsung F3 Samsung F4 LG Super-multi 
CoolingOSMonitorPower
Xigmatek HDT-S1283 Windows 8 x64 S22B310B OCZ Fatal1ty 550W 
CaseMouseMouse PadAudio
CoolerMaster HAF 912 Mionix Naos 3200 Steelseries Brainwavz HM4 Headphones 
  hide details  
Reply
post #2 of 4
A simple batch file using the TASKKILL command to terminate each process you need terminated should work.

Open Notepad and write this:

Code:
taskkill /F /IM fahwin32gpu.exe
taskkill /F /IM bittorrent.exe
Save that as a .bat file and run it whenever you need it.

To restart those programs, this simple batch file should work:

Code:
C:\\pathtofahwin32gpu.exe\\fahwin32gpu.exe
C:\\pathtobittorrent.exe\\bittorrent.exe
As far as I know you shouldn't need to specify paths when killing the processes, but of course you will when restarting them. If you have spaces in those paths, enclose them in quotes, e.g.
Code:
"C:\\Path to Bittorrent.exe\\Bittorrent.exe"
post #3 of 4
Thread Starter 
Cool, thanks. Is there way I can activate this shortcut by a keyboard shortcut?
BENDER-PC
(17 items)
 
  
CPUMotherboardGraphicsRAM
i3-540 @ 4.23 GHz Gigabyte GA-H55-USB3 GTX760 SSC 4gb G.Skill Ripjaws DDR3 1600 
Hard DriveHard DriveHard DriveOptical Drive
Sandisk Extreme Samsung F3 Samsung F4 LG Super-multi 
CoolingOSMonitorPower
Xigmatek HDT-S1283 Windows 8 x64 S22B310B OCZ Fatal1ty 550W 
CaseMouseMouse PadAudio
CoolerMaster HAF 912 Mionix Naos 3200 Steelseries Brainwavz HM4 Headphones 
  hide details  
Reply
BENDER-PC
(17 items)
 
  
CPUMotherboardGraphicsRAM
i3-540 @ 4.23 GHz Gigabyte GA-H55-USB3 GTX760 SSC 4gb G.Skill Ripjaws DDR3 1600 
Hard DriveHard DriveHard DriveOptical Drive
Sandisk Extreme Samsung F3 Samsung F4 LG Super-multi 
CoolingOSMonitorPower
Xigmatek HDT-S1283 Windows 8 x64 S22B310B OCZ Fatal1ty 550W 
CaseMouseMouse PadAudio
CoolerMaster HAF 912 Mionix Naos 3200 Steelseries Brainwavz HM4 Headphones 
  hide details  
Reply
post #4 of 4
You can use http://en.kioskea.net/download/download-1788-clavier to create custom keyboard shortcuts and link them to those batch files.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Windows
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › shortcut to end and then reopen multiple processes?