I noticed strange symbols, screenshot of an ex here: http://tinyurl.com/ychfr2x Now I'm thinking it's because I installed notepad++ maybe.
do you know how to fix this problem please? So far I only saw that problem on icons of text files.
I have never seen this icon; please review your installed software for anything that may have commandeered the .txt file extension. What application opens when you double click such an icon?
It's a text file and notepad opens up when I double click it. I'm just trying to see if Notepad++ created this problem, I don't know of any other software I downloaded that can do this.
I have the same problem. I already tried many things: registry settings, changed icon from the "File Type" tab of the Windows Explorer preferences etc. Nothing happened. The icon is not shown and it seems that it is not recognized by my Windows XP SP3 (32 bits)
Well, I've solved the issue with icons!. In my home PC I've installed Notepad++ in English without problems. In my work PC I installed Notepad++ in Spanish. It seems installation is diferent because it did not register the NppShell_01.dll. I opened a command shell in the Notepad++ folder and type:"regsvr /s /i NppShell_01.dll". This open the Context Menu and the Icon options for Notepad++. I choose the classic icon and then reset the PC … and voilá, everything is OK now.!
Sorry the right command is:"regsvr32 /s /i NppShell_01.dll"
May I know how to open a command shell in the Notepad++ folder please?
It depends on your file manager. Some have an option called DOS prompt here, or similar. In vintage Explorer, I don't know where that would be. You can always go to Start menu -> Run…, enter "cmd" and validate. In the console that pops up, cd to the desired folder.
I was able to open cmd and type the command, so that's all?
Here's a screenshot of what I did in cmd:
Ok, I'm happily surprised that it didn't complain about the file not being found. Did this fix your issue?
Yes, so far it's ok.. but I'll wait to see if it remains like this!
Issue is not fixed. I still see these icons - btw not all text file icons, ONLY those on my desktop.
Try rebuilding the icon cache, it probably didn't get refreshed. Changing the colour depth is reported as a simple, effective way of doing it, at least under XP.
How do I do that please? I have vista.
Well…, nothing is perfect! I updated Notepad++ to 5.6.4 unicode on my home PC and the icons of the associated files are not shown properly anymore…This time nothing worked, neither ''regsvr32 /s /i NppShell_01.dll" (worked in my office PC) nor the repair icons option of PowerToys TweakUI, nor the File Types tab association of each type to Notepad++. I saw many issues about icons and I know it is not a big deal but at least makes me feel uncomfortable with the application. Why it is happening so frequently? And moreover even if there's no will of solving it at least a kind guide about how to repair or diminish the issue will be very appreciated.
A quick google shows that some backup applications cause the/a green tick to be shown in files, like the one in the first screenshot. N++ nor the NppShell extension make use of any such overlay icons. NppShell draws a black square by itself, anything else is most likely from another extension/program (unless something really, really weird is going on).
By "not shown properly anymore", what exactly do you mean? Is no icon shown at all, is it the wrong icon (like the generic unknown file icon) or something else? Could you provide a screenshot? Also, you mentioned you ran XP, is that still the case for the computer you mentioned?
Does completely removing the shell extension help? I'd like to know to what extend it is the cause of your problems. A quick manual way to remove it's icon association is to find the "Notepad++_file" key in the registry under HKEY_CLASSES_ROOT, and remove the shellex key (export the notepad++_file key first as a backup. If you want to completely reset it, remove the entire notepad++_file key)
harrybarry, The icon shown is the generic unknown file icon. I also tried to remove the shellex key but it is not allowed….
Not being allowed to remove the key means oyu have no administrator rights. Try using an account that has them (or start regedit with the proper credentials), otherwise I cannot be of much help, as the entire icon association happens in the registry.
But if the generic icon is shown, it may very well be the shell extension fails to load. Try getting into the settings dialog, that will at least tell you if you have the correct version by just showing up (32 vs 64 bit) (regsvr32.exe /i /n NppShell.dll in the n++ folder).
harrybharry, I'm the administrator of both equipment. I'm not a basic user and in the past I made a lot of hacks to tune my equipments to my personal taste. This includes of course registry modifications amongst others. I really don't remember any time when I was not allowed to delete a key…, that's why I'm remarking this fact.
Nevertheless I tried your suggestion which is the same I already done but WITH notification and I've got a "DllInstall in NppShell_01.dll succeeded" message, but nothin changed. Unknown file type icon is again shown for all the files associated to Notepad++..
That's strange, I'd say the admin sohuld be able to delete any key, maybe somehow the permissions were lost? You can access those via regedit as well, similar to those of files (I dont know the details, but giving owner and admin write rights sohuld do it I suppose)
As for the notification, doesn't any dialog show up? The whole idea of DllInstall is to show the configuration dialog (its not according to what the shellextensions/regsvr32 specs say, but its a quick and easy way to do it ;] ). If that doesn't show up, maybe the shell extension is out of date
Yes of course the dialog show up and I set all the stuff as I like: show contextual menu item, classic icon, no dynamic icon etc, but still nothing happens. Making exactly the same stuff in my PC at work it succeed, without deleting no registry key…but not at home…I am frankly astonished with this problem. Anyway as someone wrote down here or there, it is just an icon, any other stuff with Notepad++ is ok but it's a pitty that the icon problem is not solved yet. I mean that I'm not the only one with the problem so I guess is more than a simple personal configuration sutff
Well, a possibility could be that because you didn't have any permissions on that registry key, that the extension GUID points to an older version and couldn't be updated when a newer version is installed. At this point I'm merely guessing. Changing the options in the dialog shouldn't affect the icon in such a way it reverts the the unknown file icon. Could you make an export of the following keys and post them here? That might make debugging the issue a little easier (I realize it's just an icon, but it's annoying, looks awful and it means there is some underlying problem somewhere), if you have the time:
(on 32 bit system:)
(on 64 bit system:)
If you find a 32 bit version on a 64 bit system, or vice versa, could you post those as well?
@="\"C:\\Program Files\\Common Files\\Microsoft Shared\\OFFICE11\\MSOXMLED.EXE\" /verb edit \"%1\""
@="\"C:\\Program Files\\Common Files\\Microsoft Shared\\OFFICE11\\MSOXMLED.EXE\" /verb open \"%1\""
"Title"="Edit with &Notepad++"
That clarifies a few things. It appears microsoft Office managed to wedge itself into the icon handler keys, rendering the n++ shellextension helpless :) (maybe a bit exaggerated).
The open and edit commands both point to some office XML application, and the icon handler does so too
(on my system it identifies itself as
C:\Program Files\Common Files\Microsoft Shared\OFFICE12\MSOXEV.DLL
I'd suggest just removing the whole notepad++_file key and reinitializing it by using the notepad++ file association tab, but you needs the write rights to do so. I have absolutely no idea how this could have happened though.
(Note: the context menu handler is set correctly, so you should see the proper "Edit with Notepad++" item in the context menu, next to some open and edit commands that open office)
Well, finally I could solve this issue. But…what I needed to do is to change the permissions of the HKEY_CLASSES_ROOT\Notepad++_file key. This is made by right clicking over the key and go to Permissions. Even when my user was an admin, I was not in full control of the key. I don't know why…, then I could delte the key. After that I went to the File Types tab of the folder Options menu and change the association of .txt files to Notepad++ (it is already done but it seems to be confirmed) and that's all. All the associated files types suddenly appears with the Notepad++ icon!.
Thanks everybody for trying to help me.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.