View Full Version : *.reg Open in Notepad (W98)
Hally
11-28-2002, 12:57 PM
Hi there, after a recent Win98 CD re-install I have to put in a few tweaks that was changed back to the standard windows setup. . .
I've forgotten how to do this one
When you double click a *.reg file it will ask you if you want to "Merge" etc but I had a tweak that made the *.reg file open straight away in "Notepad". . . . its a great safety thing & edit quickly.
Can anyone post the tweak here please
Win98SE
<font color=blue>>>Hally<<
>>>/images/forums/icons/laugh.gif<<<</font color=blue>
mysterywolf
11-28-2002, 01:02 PM
either through file types/associations or simply shift+right-click, open with, tick always use.
Hally
11-28-2002, 01:20 PM
Thankyou mysterywolf, but I've seen a simple trick where you change something in the registry. . . I wish I kept it before. . . doh.
You double click any reg file & it opens in notead, you still can merge into registry by just right click & hit "Merge"
<font color=blue>>>Hally<<
>>>/images/forums/icons/laugh.gif<<<</font color=blue>
mysterywolf
11-28-2002, 01:28 PM
both my methods and the reg change are one and the same. just different means of effecting a reg edit.
Simon Clausen
11-28-2002, 03:41 PM
Hi Hally,
Try this one: <a target="_blank" href=http://www.winguides.com/registry/display.php/253/>Avoid Accidental Registry Imports with Regedit</a>
Regards,
Simon Clausen
---
WinGuides.com - Windows Guide Network
<a target="_blank" href=http://www.winguides.com/>http://www.winguides.com/</a>
adamdelves
11-28-2002, 03:51 PM
Hi - There is a few keys to make and change here but its relivtilvely simple.
1) goto HKCR\.reg\ and look at the defualt value (usually regfile)
2) There should be a corresponding key in the same tree with that name HKCR\regfile\
3) Once you have opened the corresponding key, open the key HKCR\regfile\shell\ (you should see a list of keys each representing a context menu item for the regfile)
4) Rename the key named "open" to "merge"
5) Create a new key in the tree HKCR\regfile\shell\ called "open". Set its defualt value to "&Open"
6) Next create key named "command" in your newly created key HKCR\regfile\shell\open\ and set its defualt value to 'notepad.exe "%1"'.
After that you'll find that double clicking on .reg files will open them in notepad. However you still also have the merge command available in the context menu on right clicking the file.
You can also do the same thing in a more friendly environment with the Folder Options Control Panel in the file extensions tab by clicking the advanced button.
Hope this helps
ADAM
Hally
11-29-2002, 12:51 AM
Thankyou Simon thats the one I had before, I've been looking for it yippee this time its copy\pasted in my collection
<font color=blue>>>Hally<<
>>>/images/forums/icons/laugh.gif<<<</font color=blue>
Hally
11-29-2002, 12:54 AM
Thanks mysterywolf you're right but I wanted to get hold of the one I had before thanks for your time /images/forums/icons/smile.gif
<font color=blue>>>Hally<<
>>>/images/forums/icons/laugh.gif<<<</font color=blue>
Hally
11-29-2002, 12:56 AM
Oh Thanks Adam /images/forums/icons/wink.gif
<font color=blue>>>Hally<<
>>>/images/forums/icons/laugh.gif<<<</font color=blue>
Simon Clausen
11-29-2002, 01:47 AM
No problem, glad to help.
<plug>
It's also included in the trial/free version of <a target="_blank" href=http://www.winguides.com/tweak/>Tweak Manager</a> to make the process even simpler!
</plug>
Regards,
Simon Clausen
---
WinGuides.com - Windows Guide Network
<a target="_blank" href=http://www.winguides.com/>http://www.winguides.com/</a>
mysterywolf
11-29-2002, 08:01 AM
I appreciate the courtesy of your peronal reply..thanx.
ps rt-click, open with, choose pros, tick 'always' is merely performing that regedit for you....I labour the point because you might want to apply something similar to other filetypes at some point. its a safe and easy way and avoids typos. plus it can be reversed without having to remember what you did!
use it for wscript and jscript and vbs for security. then if any malicious script tries to run notepad will open instead and warn you.
Hally
11-29-2002, 02:54 PM
Hi mysterywolf & thanks for telling me the trick in your PS but I had trouble working out what you mean, can I ask you to please reply back in easy terms . . . I don't know what you meant by <font color=purple>choose pros</font color=purple> also what do I right click?
Thanks Again
<font color=blue>>>Hally<<
>>>/images/forums/icons/laugh.gif<<<</font color=blue>
rajatirumala
12-02-2002, 12:24 AM
hello,
go to folderoptions in control panel click the file types tab ,check for the file type .reg the press the "change" button and press new button , int the action command give the name
type the address of the notepad execution file usually "c:\windows\notepad.exe"
int field just below it select this action (new added) and press the "setdefault button" from now on the .
.reg files open with notepad on double click
for merging you can right click to get it done
Rajatirmuala,
"Go to folderoptions in control panel, click the file types tab, check for the file type .reg, then press the "change" button and press new button. . ."
I beleive that you want to click the Advanced button <font color=red>not</font color=red> the Change button. Then clidk the New button. Then carry on as you have instructed.
Thank you for posting this.
Nana /images/forums/icons/smile.gif
mysterywolf
12-02-2002, 08:46 AM
you need a reg file to start with...either use a real one, or from regedit you can export a key to cretae one. or even simply create a textfile on the desktop and rename it to xxx.reg or whatever.
1.then shift+right-click that reg file and choose open with.
2. if that menu gives choices choose 'choose program', if it does not then the next gui displayed will.
3. from the list of programs to choose from you will probably find notepad. highlight it and tick the box that says 'always use this program to open these files'. and click ok.
4. you should find that the icon for that reg file changes to the notepad icon.
5. if notepad is not in that list to choose from then use the 'other' button to browse to notepad that way. (and don't forget to tick the 'always use...' box).
ther is nothing wrong with the methods advised by others - they are all more or less the same thing -we all have our own preferred ways of doing stuff and this is just mine.
If the advice someone gave to change the default reg to 'edit' did not work for you by any chance, it wasn't wrong but the reason could be this...
the default is what to use if there is no specific key. in the example you were given there was no entry for open, so when you double-click a reg file it wouldn't know what to do and so would use the default. the default was 'edit', and reg files are usually already set to be edited by notepad. so notepad is used.
but,... if you had a key already that was for 'open' then double-click would not need to use the default since it had an entry for open in registry and so would use that. meaning that in that case that particular tweak would appear not to work - it all depends on if a key for 'open' existed.
for such reasons (and mistakes due to typos) I prefer the 'open with' method. but its down to what you feel happy with - me , I have an awful memory, a bit lazy and I lose notes and stuff so I use this way.
good luck.
Hally
12-02-2002, 12:36 PM
mysterywolf Thanks very much for your great reply,
/images/forums/icons/smile.gif/images/forums/icons/smile.gif/images/forums/icons/smile.gif
<font color=blue>>>Hally<<
>>>/images/forums/icons/laugh.gif<<<</font color=blue>
Powered by vBulletin™ Version 4.1.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.