From: Martin Str|mberg 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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