SureKen Posted June 5, 2005 Share Posted June 5, 2005 I've got a txt with some reg tweaks I wrote some time ago. The file starts with "REGEDIT4". While trying to merge it with a new reg file, I've noticed that the newer one says "Windows Registry Editor Version 5.00".What's the difference between version 4 and 5?Should I get rid of "REGEDIT4" and put all the keys in the other (newer) file?Thanks. Link to comment Share on other sites More sharing options...
Yzöwl Posted June 5, 2005 Share Posted June 5, 2005 No!REGEDIT4 is recognized in all versions including XP, the major difference between the two is that the Version 5.00 is in unicode format. Since the file you have will not be unicode there is no reason to alter it. Link to comment Share on other sites More sharing options...
Martin Zugec Posted June 5, 2005 Share Posted June 5, 2005 Strange is there is only one difference (AFAIK)... Regedit4 support extended strings, e.g. using variables. Link to comment Share on other sites More sharing options...
SureKen Posted June 6, 2005 Author Share Posted June 6, 2005 Ok, I understand, but since I don't need unicode support, it doesn't really matter if I put the strings under "REGEDIT4" or "Windows Registry ... 5.0", does it?thanks Link to comment Share on other sites More sharing options...
SureKen Posted June 6, 2005 Author Share Posted June 6, 2005 Let me explain this with an example.This is the "REGEDIT4" file:; Auto-Expand folders[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"FriendlyTree"=dword:00000001; Disable "Encrypt/Decrypt" on folders' context menu[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"EncryptionContextMenu"=dword:00000000; Internet Explorer [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main]"IEWatsonDisabled"=dword:00000001[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]"DisablePasswordCaching"=dword:00000001and this is the new reg file:; Disable 'Browse Web For Program' To Open Unknown Extensions[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]"NoInternetOpenWith"=dword:00000001; Remove Windows Alexa Spyware[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Extensions\{c95fe080-8f5d-11d2-a20b-00aa003c157a}];Disable windows built in zip functionality[-HKEY_CLASSES_ROOT\.zip\CompressedFolder][-HKEY_CLASSES_ROOT\CLSID\{E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31}][-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CompressedFolder];Remove WMP Right Click Options[-HKEY_CLASSES_ROOT\CLSID\{F1B9284F-E9DC-4e68-9D7E-42362A59F0FD}][-HKEY_CLASSES_ROOT\CLSID\{8DD448E6-C188-4aed-AF92-44956194EB1F}][-HKEY_CLASSES_ROOT\CLSID\{CE3FB1D1-02AE-4a5f-A6E9-D9F1B4073E6C}]; Enable Tahoma Font In Notepad[HKEY_CURRENT_USER\Software\Microsoft\Notepad]"lfFaceName"="Tahoma"; Enable Word Wrap In Notepad[HKEY_CURRENT_USER\Software\Microsoft\Notepad]"fWrap"=dword:00000001I need to merge them, that's why I asked about those two different versions of reg files. Link to comment Share on other sites More sharing options...
Yzöwl Posted June 6, 2005 Share Posted June 6, 2005 Just append the contents, (minus, the 'Windows Registry Editor Version 5.00'), of the 'new' reg to the end of the 'REGEDIT4' file then. Link to comment Share on other sites More sharing options...
SureKen Posted June 6, 2005 Author Share Posted June 6, 2005 Just append the contents, (minus, the 'Windows Registry Editor Version 5.00'), of the 'new' reg to the end of the 'REGEDIT4' file then.<{POST_SNAPBACK}>Thanks, I'll do it. Just out of curiosity, what would happen if I did the opposite (appending the old content to the new 'Windows Registry Editor Version 5.00' file)? It's just to check if I got it right, you know. Link to comment Share on other sites More sharing options...
Yzöwl Posted June 6, 2005 Share Posted June 6, 2005 The chances are good that it would perform exactly the same.Incidentally, please make sure that there is a blank line at the end of the appended file. Link to comment Share on other sites More sharing options...
SureKen Posted June 6, 2005 Author Share Posted June 6, 2005 The chances are good that it would perform exactly the same.Incidentally, please make sure that there is a blank line at the end of the appended file.<{POST_SNAPBACK}>A blank line at the end, ok.Speaking of blank lines, I usually put one between an entry and the next one. Would it somehow "break" the reg file if I put more than one? I'm talking about pure blank lines, since the ones where I explain the meaning of an entry is commented with ";".Thanks a lot. Link to comment Share on other sites More sharing options...
Yzöwl Posted June 6, 2005 Share Posted June 6, 2005 The important things are'REGEDIT4' or 'Windows Registry Editor version 5.00', must be followed by a blank line.The file must end with a blank lineOther than that, whatever makes it more readable for you. Link to comment Share on other sites More sharing options...
SureKen Posted June 6, 2005 Author Share Posted June 6, 2005 The important things are'REGEDIT4' or 'Windows Registry Editor version 5.00', must be followed by a blank line.The file must end with a blank lineOther than that, whatever makes it more readable for you.<{POST_SNAPBACK}>Good, thank you very much for your help Yzöwl. Link to comment Share on other sites More sharing options...
Takeshi Posted June 10, 2005 Share Posted June 10, 2005 Bear in mind that for Expandable Strings and Multistring data in hex, the formats are different between ANSI and Unicode (one and two bytes respectively). Link to comment Share on other sites More sharing options...
MHz Posted June 10, 2005 Share Posted June 10, 2005 (edited) The best method for a short list like that. Add them to registry, then just export them out again, in the suitable format. Edited June 10, 2005 by MHz Link to comment Share on other sites More sharing options...
maxXPsoft Posted June 11, 2005 Share Posted June 11, 2005 Safest bet, if you doing Xp is to use the Windows Registry Editor Version 5.00I have applied a few things in the past and they did NOT import using REGEDIT4.I cannot explain so a word to the wise. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now