Exp HP
New Member
- Joined
- Jan 9, 2010
- Messages
- 93
- Thread Author
- #1
(Resolved) Default registry settings needed for Notepad in HKCR
I was using a program called Default Programs Editor to associate some files and give them some custom icons I made, but one of them in specific (.BIN files) didn't work out too well. Well, all the changes I made to .BIN files are working (as in, the icon shows and they can be opened in XVI32), but at the expense of Notepad.
It's the strangest thing ever. Let me be clear: Notepad works fine. And all files associated with it (like .txt) still open in Notepad. The problem is something else: It is no longer possible to open an unrecognized file type in Notepad because Notepad has disappeared from the Open with... dialog. I can't even add it via the Browse dialog; when I browse to system32 and choose the file notepad.exe, the item that gets added to the list is XVI32. If you don't understand, I'll whip up a few screenshots to show.
Upon further investigation, I found that the .bin extention was associated with a filetype called "Applications\Notepad". And guess what? There is a key of the same name, "HKEY_CLASSES_ROOT\Applications\Notepad.exe", and DPE seems to have made my changes to BIN files there. For reference purposes, here's a reg file of that key.
It would greatly please me if you would do the same and post a Reg of the same key on your computer. You know, a working version of the key, one that doesn't have all this misplaced crap that is supposed to be for
I may request more regs in this thread later on if I find that this isn't the problem key
I was using a program called Default Programs Editor to associate some files and give them some custom icons I made, but one of them in specific (.BIN files) didn't work out too well. Well, all the changes I made to .BIN files are working (as in, the icon shows and they can be opened in XVI32), but at the expense of Notepad.
It's the strangest thing ever. Let me be clear: Notepad works fine. And all files associated with it (like .txt) still open in Notepad. The problem is something else: It is no longer possible to open an unrecognized file type in Notepad because Notepad has disappeared from the Open with... dialog. I can't even add it via the Browse dialog; when I browse to system32 and choose the file notepad.exe, the item that gets added to the list is XVI32. If you don't understand, I'll whip up a few screenshots to show.
Upon further investigation, I found that the .bin extention was associated with a filetype called "Applications\Notepad". And guess what? There is a key of the same name, "HKEY_CLASSES_ROOT\Applications\Notepad.exe", and DPE seems to have made my changes to BIN files there. For reference purposes, here's a reg file of that key.
Code:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Applications\notepad.exe]
"FriendlyTypeName"=hex(2):42,00,69,00,6e,00,61,00,72,00,79,00,20,00,46,00,69,\
00,6c,00,65,00,00,00\
;(FriendlyTypeName is "Binary File")
[HKEY_CLASSES_ROOT\Applications\notepad.exe\DefaultIcon]
@="\"C:\\Old Computer\\Old Shared Folder\\icons\\bin.ico\" -1"
[HKEY_CLASSES_ROOT\Applications\notepad.exe\shell]
@="edit"
[HKEY_CLASSES_ROOT\Applications\notepad.exe\shell\edit]
@="Edit hex"
"MuiVerb"=hex(2):45,00,64,00,69,00,74,00,20,00,68,00,65,00,78,00,00,00
;(MuiVerb is "Edit hex")
[HKEY_CLASSES_ROOT\Applications\notepad.exe\shell\edit\command]
@="\"C:\\Downloaded Software\\XVI32\\XVI32.exe\""
[HKEY_CLASSES_ROOT\Applications\notepad.exe\shell\open]
@="Edit text"
"MuiVerb"=hex(2):45,00,64,00,69,00,74,00,20,00,74,00,65,00,78,00,74,00,00,00
;(MuiVerb is "Edit text")
[HKEY_CLASSES_ROOT\Applications\notepad.exe\shell\open\command]
@=hex(2):6e,00,6f,00,74,00,65,00,70,00,61,00,64,00,2e,00,65,00,78,00,65,00,20,\
00,25,00,31,00,00,00
;(Default) is "notepad.exe %1")
I may request more regs in this thread later on if I find that this isn't the problem key
Last edited: