Mail Archives: djgpp-workers/1999/03/19/16:22:13
DJ said:
> Can we tweak the registry from a dos program?
Yes, easily. First you check that the program "regedit" exist, then you
run "regedit /e temporary_file". This creates a file which look like this:
----- temporary_file starts. -----
REGEDIT4
[HKEY_LOCAL_MACHINE]
"FullLogging"="No"
[HKEY_LOCAL_MACHINE\Software]
[HKEY_LOCAL_MACHINE\Software\Microsoft]
"MlSet"="C:\\Programf\\Window~1\\mlset32.exe"
[Blablabla]
"My"="aunt"
"is"=1
"not"="in"
"this"=""
"file"=hex:00,00,00,00
[Blurghbluopp\\blipp]
"More endless options"="More endless options"
----- temporary_file ends. -----
You edit this file. Then you run "regedit /c temporary_file" and voila,
you have changed the registry.
Shostakovich, Symphony No. 5,
MartinS
- Raw text -