<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>How-To Geek Forums Topic: Always running an .exe with a comand line switch</title>
<link>http://www.howtogeek.com/forum/</link>
<description>How-To Geek Forums Topic: Always running an .exe with a comand line switch</description>
<language>en</language>
<pubDate>Thu, 08 Jan 2009 19:01:45 +0000</pubDate>

<item>
<title>jd2066 on "Always running an .exe with a comand line switch"</title>
<link>http://www.howtogeek.com/forum/topic/always-running-an-exe-with-a-comand-line-switch#post-16876</link>
<pubDate>Sun, 06 Apr 2008 22:58:58 +0000</pubDate>
<dc:creator>jd2066</dc:creator>
<guid isPermaLink="false">16876@http://www.howtogeek.com/forum/</guid>
<description>&#60;p&#62;I agree with Lighthouse, something is resetting the key when it shouldn't be.&#60;br /&#62;
You can you the program &#60;a href='http://www.microsoft.com/technet/sysinternals/FileAndDisk/processmonitor.mspx'&#62;Process Monitor&#60;/a&#62; to monitor the registry and find out what program is changing it.
&#60;/p&#62;</description>
</item>
<item>
<title>Lighthouse on "Always running an .exe with a comand line switch"</title>
<link>http://www.howtogeek.com/forum/topic/always-running-an-exe-with-a-comand-line-switch#post-16810</link>
<pubDate>Sun, 06 Apr 2008 20:35:20 +0000</pubDate>
<dc:creator>Lighthouse</dc:creator>
<guid isPermaLink="false">16810@http://www.howtogeek.com/forum/</guid>
<description>&#60;p&#62;But why does the registry entry change when you finish? That, I think, is the problem
&#60;/p&#62;</description>
</item>
<item>
<title>jonhill987 on "Always running an .exe with a comand line switch"</title>
<link>http://www.howtogeek.com/forum/topic/always-running-an-exe-with-a-comand-line-switch#post-16744</link>
<pubDate>Sun, 06 Apr 2008 14:51:41 +0000</pubDate>
<dc:creator>jonhill987</dc:creator>
<guid isPermaLink="false">16744@http://www.howtogeek.com/forum/</guid>
<description>&#60;p&#62;In order to get the game Re-Volt to work on Vista it requires a -sli switch. This is fine for single player as I can just add that to the end of the short-cut (eg. &#34;C:\Games\Acclaim Entertainment\Re-Volt\revolt.exe&#34; -sli) and it runs every time. However for multiplayer it is launched by an external application so I can't add the -sli on to the end.&#60;/p&#62;
&#60;p&#62;The solution I found (on another site) was that adding the following to the registry:&#60;/p&#62;
&#60;p&#62;[HKEY_CLASSES_ROOT\VirtualStore\MACHINE\SOFTWARE\Microsoft\DirectPlay\Applications\Re-Volt]&#60;br /&#62;
&#34;CommandLine&#34;=&#34; -sli&#34;&#60;/p&#62;
&#60;p&#62;This works, but only once, the key has to be added each time you want to run the game (in multiplayer anyway). Constantly adding that to the registry is a pain so I was wondering if there a way that I can make the .exe always run using that switch.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
