Subscribe to How-To Geek

Welcome to the How-To Geek Forums

We encourage you to register on our forums and post any questions you might have. The How-To Geeks monitor this forum and will respond to your question quickly.

How-To Geek Forums » Windows Vista

Always running an .exe with a comand line switch

(3 posts)
  • Started 7 months ago by jonhill987
  • Latest reply from jd2066
  • Topic Viewed 234 times


jonhill987
jonhill987
Posts: 113

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. "C:\Games\Acclaim Entertainment\Re-Volt\revolt.exe" -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.

The solution I found (on another site) was that adding the following to the registry:

[HKEY_CLASSES_ROOT\VirtualStore\MACHINE\SOFTWARE\Microsoft\DirectPlay\Applications\Re-Volt]
"CommandLine"=" -sli"

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.

Posted 7 months ago #
 
Lighthouse
Lighthouse
Posts: 5574

But why does the registry entry change when you finish? That, I think, is the problem

Posted 7 months ago #
 
jd2066
Posts: 3204

I agree with Lighthouse, something is resetting the key when it shouldn't be.
You can you the program Process Monitor to monitor the registry and find out what program is changing it.

Posted 7 months ago #
 

RSS feed for this topic

Reply

You must log in to post.

Sponsored Links
Getting Started
About How-To Geek
What Is That Process?
svchost.exe
jusched.exe
dwm.exe
ctfmon.exe
wmpnetwk.exe
wmpnscfg.exe
rundll32.exe
wfcrun32.exe
Ipoint.exe
Itype.exe
Wfica32.exe
Mobsync.exe
Cmd.exe
Dpupdchk.exe

Copyright © 2006-2008 HowToGeek.com. All Rights Reserved.