www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/03/19/16:22:13

From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
Message-Id: <199903192121.WAA21724@father.ludd.luth.se>
Subject: Re: (fwd) Compression
To: djgpp-workers AT delorie DOT com (DJGPP-WORKERS)
Date: Fri, 19 Mar 1999 22:21:57 +0100 (MET)
X-Mailer: ELM [version 2.4ME+ PL15 (25)]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019