I need a batch file that would kill Desktop Windows Manager (dwm.exe)when I turn on the game, and then keep it killed until I close the game.
Here is where i am at right now.
----------------------------------------
@echo off
cls
echo Killing DWM
net stop uxsms
title DWM Killer
echo (%time%) app launched
start /wait WRLauncher
pause
net start uxsms
exit
------------------------------------------
The problem is that the game (WarRock) starts off with a "WRLuncher.exe" > luncher starts "WRUpdater.exe" > and updater starts the game.
Is there any way to do something like this.
---------------------------------------------------------------------
@echo off
cls
echo Killing DWM
net stop uxsms
title DWM Killer
echo (%time%) app launched
start /wait WRLauncher
wait for "WRUpdater"
wait for "the game"
net start uxsms
exit
-------------------------------------------------------------------
I want the batch file to turn off by itself after I exit the game instead of having to press a key after pause.