1.

Solve : Help Adding Registry using CMD?

Answer»

Hello guys, I'm trying to add a couple of lines of registry by using a simple batch file, however I keep getting this error with the last two lines:
Error: too many command line parameters (or in my language: Fout: te veel opdrachtregelparameters)

I tried to remove some (as I thought were) parameters but it didn't help.
There are 10 lines that needs to be added to the registry, does it just mean I can maximum have 8 registry lines?
At the begin I always use REG ADD, then one line HKCU and NINE lines HKLM. Of course, after that the whole path, e.g. \SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\. Following is the variable /v with text/path behind it between "". Next comes /d, with the regarding info.
At some lines I also use /t REG_DWORD.

I have Windows XP SP3, version released on Okt 2009.


I hope this is enough info
Thank you Why Dont You Create A .reg File File And Then Add It With The Stuff Attached

[SAVING space, attachment deleted by admin]also, why don't you POST THE ACTUAL batch file rather then describing it?Here Is What You Asked "BC"... 

[Saving space, attachment deleted by admin] Quote from: the_mad_joker on February 28, 2010, 09:39:56 AM

Here Is What You Asked "BC"... 

I was speaking to the original poster.

What makes you THINK you can post/attach game cracks? Quote
I was speaking to the original poster.
If Its True , Then Im Sorry For That !  Quote
What makes you think you can post/attach game cracks

Hey BC Are You Really Good At Programming 
Then Why Did You Mentioned A "REGISTRY" File As An "Game's Crack"

Belive Me I m Good At GAMING Rather Than AnyOne !!!!The file contains more then just a REG file. it also contains a program called "mod2.exe"

Now, the dead giveaway that it probably isn't 100% legit is the fact that an EXE compressor was run on it that makes the resources unreadable.

additionally, the mod2.exe program's original filename is actually "regadd" an older, well known "tool" that is employed by wannabes to add information to the registry, mostly to prevent the prompt that regedit displayed before merging the registry file.

Also, by inserting the Breakpoint (INT 3) instruction into the dissasembled code and running it in the debugger, I was able to ascertain that regadd (as it was originally called) was compiled with Borland Turbo C++ and consisted of the two files "cargocom.h" (last edited sept 7th, 1997, 11:06 AM)  and "regadd.cpp" (last edited July 19th, 1998).

Last, but perhaps most interesting, a quick google finds several errily similar files containing eerily similar contents.

Including the REG file, duplicated exactly the same.

Lastly, with regards to the OP's question; Why not use a .REG file and run it using regedit?

Quote
The file contains more then just a REG file. it also contains a program called "mod2.exe"

Now, the dead giveaway that it probably isn't 100% legit is the fact that an EXE compressor was run on it that makes the resources unreadable.

additionally, the mod2.exe program's original filename is actually "regadd" an older, well known "tool" that is employed by wannabes to add information to the registry, mostly to prevent the prompt that regedit displayed before merging the registry file.

Also, by inserting the Breakpoint (INT 3) instruction into the dissasembled code and running it in the debugger, I was able to ascertain that regadd (as it was originally called) was compiled with Borland Turbo C++ and consisted of the two files "cargocom.h" (last edited sept 7th, 1997, 11:06 AM)  and "regadd.cpp" (last edited July 19th, 1998).

Last, but perhaps most interesting, a quick google finds several errily similar files containing eerily similar contents.

Including the REG file, duplicated exactly the same.

Last THING I Wanna Say  The Reasons You Stated Above Are The Reasons I Like Your Knowledge...  'kay Guys, here's the batch file.
I know, TweakUI, you can just download it from microsoft.com but this is just for me to get to know batch more

Please don't go so much off topic

[Saving space, attachment deleted by admin]


Discussion

No Comment Found