So I bought The Last Remnant, Darn fun game. But it requires this BS program Steam to run all the time, and it gives you ad’s about the latest games and stuff, and just plain eats memory for no reason.
Basically what I want to do is make something like a batch file or whatever, that will run the command line that The Last Remnant icon passes to steam, waits for the game to load, than closes steam.
The command line it uses is
“C:\Program Files\Steam\steam.exe” -applaunch 23310
So my first thought was batch file this, however, how can you force close a process from a batch file?
My next thought was a VBScript, but no API calls so can’t create a process.
So I COULD maybe do it in VB6, however even if I create a process, maybe have my app wait 2 minutes then kill the process, this seems like overkill and may not work.
I would prefer to do this the batch file way, any suggestions?