so im trying to make a batch file that i can connect to one of the gaming buttons that will open and close the following programs for when im playing games:
Rocketdock
Objectdock
rainmeter
rainlender2
Xion
and so far i have the following:
Start "" "C:\Program Files\r2 Studios\Xion.exe"
Start "C:\Program Files\RocketDock\Rocketdock.exe
Start "C:\Program Files\Stardock\ObjectDock\ObjectDock.exe"
Start "C:\Program Files\StardockC:\Program Files\Rainmeter\rainmeter.exe"
Start "C:\Program Files\Rainlendar2\Rainlendar2.exe"
but ineed help with the following:
what do i do now?
how do i conenct it to the gaming button?
-
ArmageddonAsh Mangekyo Sharingan
-
why do you have start on begin of it you shound need try
C:\Program Files\r2 Studios\Xion.exe
C:\Program Files\RocketDock\Rocketdock.exe
C:\Program Files\Stardock\ObjectDock\ObjectDock.exe
C:\Program Files\StardockC:\Program Files\Rainmeter\rainmeter.exe
C:\Program Files\Rainlendar2\Rainlendar2.exe
and rename file something.bat that shound work -
so you saved the bat file and want it to be run when you hit a "gaming button" on your keyboard?
-
gaming button?
meaning a button on the mouse? -
Try using AutoHotkey
-
well make batch file set a hotkey on keyboard two diffent thing
what you want to do map the hotkey on keyboard to the batch file
I asume you don,nt mean try to map it to mouse botton cause that problay wound work too good -
What you're trying to do should be possible, but... the easiest thing, really, is to create a second user profile... one that doesn't have all that stuff running on startup.
But... logging out and in is not instantaneous though.
So if you want to kill stuff in a batchfile... check out the taskkill command.
e.g.: taskkill /IM RocketDock.exe
Try taskkill /? to see the full option list.
As far as the gaming button... I don't really know what button you're talking about... but if you can have it run the batch file, then you're set. -
ArmageddonAsh Mangekyo Sharingan
i have the Sager NP9262 and i have the two "gaming buttons" on the keybaord as well as the three app buttons but i dont use them either and i was hoping to make it so that when i press one "gaming button" all the programs i have mentioned stop and when i press the second button they all start back up.
i have yet to create the batch file, i have the code above but im not sure what i need to do with it, i would rather not have to make a different user profile as that would take too long to log off and log back on just to play a game for 5-10minutes -
Yes paste it into notepad and make sure the file extension is .bat
-
ArmageddonAsh Mangekyo Sharingan
is the code okay to open and close the programs, or am i missing something?
Creating A Batch File
Discussion in 'Windows OS and Software' started by ArmageddonAsh, Oct 19, 2008.