I want the computer to logoff immediately after a user quits a game. The problem is that it would keep going and won't stop.
I want the batch to wait at game.exe until user quits, then move to logoff. Is there another way? I don't want the user to be given options to logoff or not.
Code:
cd (game directory)
game.exe
logoff
I want the batch to wait at game.exe until user quits, then move to logoff. Is there another way? I don't want the user to be given options to logoff or not.