Batch file .. need help! - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Batch file .. need help!

PushokPushok Posts: 1Member
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.
----------------------------------------
[color=Blue]@echo off
cls
echo Killing DWM
net stop uxsms
title DWM Killer
echo (%time%) app launched
start /wait WRLauncher
pause
net start uxsms
exit[/color]
------------------------------------------

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.

---------------------------------------------------------------------
[color=Blue]@echo off
cls
echo Killing DWM
net stop uxsms
title DWM Killer
echo (%time%) app launched
start /wait WRLauncher[/color]
[color=Red]wait for "WRUpdater"
wait for "the game"[/color]
[color=Blue]net start uxsms
exit[/color]
-------------------------------------------------------------------

I want the batch file to turn off by itself after I exit the game instead of having to press a key after pause.



Sign In or Register to comment.