Batch file help

Soldato
Joined
17 Dec 2004
Posts
8,743
Here's my batch file, but I need steam to quit after the game closes so it will run KeyboardLeds again. Any ideas?
taskkill /F /IM KeyboardLeds.exe > NUL
steam -applaunch 310560
start "KeyboardLeds" /high KeyboardLeds.lnk
 
Have you tried the start /wait command for running the game?

@Echo off
taskkill /F /IM KeyboardLeds.exe > NUL
start /wait steam -applaunch 310560
steam -shutdown
start "KeyboardLeds" /high KeyboardLeds.lnk

Thanks, I have tried that but steam still wont close after quitting the game.
 
Back
Top Bottom