<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'Batch file .. need help!' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'Batch file .. need help!' posted on the 'MS-DOS' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2012 Programmers Heaven</copyright>
    <pubDate>Wed, 23 May 2012 06:22:30 -0700</pubDate>
    <lastBuildDate>Wed, 23 May 2012 06:22:30 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Batch file .. need help!</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/411127/411127/batch-file--need-help/</link>
      <description>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.&lt;br /&gt;
&lt;br /&gt;
Here is where i am at right now.&lt;br /&gt;
----------------------------------------&lt;br /&gt;
&lt;span style="color: Blue;"&gt;@echo off&lt;br /&gt;
cls&lt;br /&gt;
echo Killing DWM&lt;br /&gt;
net stop uxsms&lt;br /&gt;
title DWM Killer&lt;br /&gt;
echo (%time%) app launched&lt;br /&gt;
start /wait WRLauncher&lt;br /&gt;
pause&lt;br /&gt;
net start uxsms&lt;br /&gt;
exit&lt;/span&gt;&lt;br /&gt;
------------------------------------------&lt;br /&gt;
&lt;br /&gt;
The problem is that the game (WarRock) starts off with a "WRLuncher.exe" &amp;gt; luncher starts "WRUpdater.exe" &amp;gt; and updater starts the game.&lt;br /&gt;
&lt;br /&gt;
Is there any way to do something like this.&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
&lt;span style="color: Blue;"&gt;@echo off&lt;br /&gt;
cls&lt;br /&gt;
echo Killing DWM&lt;br /&gt;
net stop uxsms&lt;br /&gt;
title DWM Killer&lt;br /&gt;
echo (%time%) app launched&lt;br /&gt;
start /wait WRLauncher&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: Red;"&gt;wait for "WRUpdater"&lt;br /&gt;
wait for "the game"&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: Blue;"&gt;net start uxsms&lt;br /&gt;
exit&lt;/span&gt;&lt;br /&gt;
-------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
I want the batch file to turn off by itself after I exit the game instead of having to press a key after pause. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/411127/411127/batch-file--need-help/</guid>
      <pubDate>Wed, 23 Dec 2009 20:55:09 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
  </channel>
</rss>
