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 1 year ago by jonhill987
  • Latest reply from jd2066
  • Topic Viewed 721 times

jonhill987
jonhill987
Posts: 158

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 1 year ago #
Top
 
Lighthouse
Lighthouse
Posts: 5573

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

Posted 1 year ago #
Top
 
jd2066
Justin
Posts: 3792

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 1 year ago #
Top
 

RSS feed for this topic

Reply

You must log in to post.

Our Friends
Getting Started


About How-To Geek
What Is That Process?
svchost.exe
jusched.exe
dwm.exe
ctfmon.exe
wmpnetwk.exe
mDNSResponder.exe
wmpnscfg.exe
rundll32.exe
wfcrun32.exe
Ipoint.exe
Itype.exe
Wfica32.exe
Mobsync.exe
conhost.exe
Dpupdchk.exe Adobe_Updater.exe

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