Hello all.
I have rainmeter on my system, and game alot. I'm trying to figure out how to create a single button on my desktop to open and close the program so as not to clutter my desktop with multiple icons for the same program. I currently have two separate files one for turning it on and the other for turning it off.
To turn on rainmeter I have the following batch
@echo off
cd "C:\Program Files\Rainmeter"
start Rainmeter.exe
exit
To turn off Rainmeter I have this batch
taskkill /f /im rainmeter.exe
Is there a way to combine these into a single batch file so I have only one button that does both optionally?