Howdy, Stranger!

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

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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.