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

Registry change in batch file

Reply to Message Icon

Original Message
Name: the_importer
Date: February 4, 2006 at 07:08:17 Pacific
Subject: Registry change in batch file
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.


Report Offensive Message For Removal


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

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

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


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Registry change in batch file

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 5 Days.
Discuss in The Lounge