im trying to get a stubborn game to close whenever it freezes. i need an elevated cmd to do so and ive managed to open one using bat;
powershell -Command "Start-Process 'cmd.exe' -Verb runAs"
i then need to run
taskkill /f /pid game.exe
inside of this elevated cmd. any ideas on how to do that?