Hey all, working on a little thing to make my life easier, wanted to make a bat that opens and closes the programs I only use when gaming.
The open works great, the close not so much.
Start
Works great.
The stop however, only seems to close rainmeter, tried with or without the /f
I know fuckall about writing any kind of code or scripts, so any help is appreciated.
Thanks!
The open works great, the close not so much.
Start
Code:
@echo off
start "afterburner" "C:\Program Files (x86)\MSI Afterburner\MSIAfterburner.exe"
start "rtss" "C:\Program Files (x86)\RivaTuner Statistics Server\RTSS.exe"
start "rainmeter" "C:\Program Files\Rainmeter\Rainmeter.exe"
start "core temp" "C:\Program Files\Core Temp\Core Temp.exe"
Works great.
The stop however, only seems to close rainmeter, tried with or without the /f
Code:
@echo off
taskkill /f /im MSIAfterburner.exe
taskkill /f /im RTSS.exe
taskkill /f /im Rainmeter.exe
taskkill /f /im Core Temp.exe
I know fuckall about writing any kind of code or scripts, so any help is appreciated.
Thanks!