Computing.Net > Forums > Programming > Registry change in batch file

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Registry change in batch file

Reply to Message Icon

Name: the_importer
Date: February 4, 2006 at 07:08:17 Pacific
OS: WinXP
CPU/Ram: P4 2.8, 1024 DDR
Comment:

Hi there,


I’m made a menu for an old PC game. Everything’s working pretty great, except that because I needed to add a Registry command in the batch files, some of the options keep changing:

reg add HKCU\Software\Sonicteam\PSOV2 /v CTRLFLAG1 /t REG_DWORD /d 0x00000000 /f

The problem is that 4 settings are affected by one Registry Key: Online/Offline, 3D Sound, Frame Rate and Connection Type.

My Goal is to only switch between Online and Offline by the using different batch files without affecting the other 3 settings. By looking at the included picture, you can see that no matter what settings I choose in the option menu, 16 Decimals or 10 Hexadecimals is required to make the switch from Offline to Online.

So here’s my question, how can I change my command so that the switch from Online to Offline will not affect my settings for 3D Sound, Frame Rate and Connection Type?


Thank you for your time.



Sponsored Link
Ads by Google

Response Number 1
Name: the_importer
Date: February 4, 2006 at 07:14:53 Pacific
Reply:

This board doesn't seem to show the pic I've included, so here's the link:

http://i1.tinypic.com/n4ckg8.jpg


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Registry change in batch file

key-combination in batch file www.computing.net/answers/programming/keycombination-in-batch-file-/16782.html

Date Routines in Batch Files www.computing.net/answers/programming/date-routines-in-batch-files/15590.html

%DATE% in batch files with win98 www.computing.net/answers/programming/date-in-batch-files-with-win98/4007.html