Okay so I managed to make the batch file start up my completely potato game on my potato laptop (this is just a laptop for coding practice, side projects, surfing the internet etc) upon logging in. Great.
But now how do I make the same batch file execute another command separately, namely that upon quitting the game, I"ll be automatically logged out of my win 10 user account?
I know it"ll be "logoff.exe" I think, but how do I make the script get the order of commands right? ie first launch the game and IF I quit the game it"ll log me out?