Scubar Posted July 22, 2005 Share Posted July 22, 2005 (edited) i was wondering about nfo files and opening them with notepad.what i was hoping was to add a second icon to notepad which can be used as the icon for nfo and diz files. but i wasnt sure if there would be anyway to associate the file types in the registry with this icon that id have added to notepad. Edited July 22, 2005 by ScubaSteve Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted July 22, 2005 Share Posted July 22, 2005 (edited) Here is the reg file I got that makes it so .nfo files are opened with notepad... Edited July 22, 2005 by kelsenellenelvian Link to comment Share on other sites More sharing options...
Scubar Posted July 22, 2005 Author Share Posted July 22, 2005 yup i got that one included in the reg tweaks thing. i was just hoping there was a way to set the standard icon for nfo and diz icons to notepad.exe,1 or notepad.exe,2 depending on the icon place. Link to comment Share on other sites More sharing options...
phillyman2004 Posted July 22, 2005 Share Posted July 22, 2005 There are also alot of NFO readers out there that will display the NFO correctly , Alot of times the NFO contain Ascii that is ment to draw a picture on the screen , Notepad will show you , but NFO readers make it look better Rob Link to comment Share on other sites More sharing options...
DL. Posted July 22, 2005 Share Posted July 22, 2005 This is what I'm using:[HKEY_CLASSES_ROOT\.nfo]@="Infofile""PerceivedType"="text""Content Type"="text/plain"[HKEY_CLASSES_ROOT\.nfo\PersistentHandler]@="{5e941d80-bf96-11cd-b579-08002b30bfeb}"[HKEY_CLASSES_ROOT\Infofile]@="Infofile""EditFlags"=dword:00010000"BrowserFlags"=dword:00000008[HKEY_CLASSES_ROOT\Infofile\DefaultIcon]@="%systemroot%\\system32\\shell32.dll,221"The last part is what controls the icon.In your case it should be:[HKEY_CLASSES_ROOT\Infofile\DefaultIcon]@="%systemroot%\\notepad.exe,1"This can also be done for other filetypes, just make sure that the filename in [HKEY_CLASSES_ROOT\Filename] is the same as the one under [HKEY_CLASSES_ROOT\.extension] (the @="filename"-part). This is because of the relation between the extension and the filetype.Take a look in the registry under HKEY_CLASSES_ROOT to get the idea of how it works with other known filetypes. For example .mpeg and mpegfile. 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