For quite some time now, I experience a weird behavior of Notepad++. I associated .xml files to Notepad++. For most of the time opening .xml files works fine. Sometimes though, the file won't open if I drop it into Notepad++ or try to open in with double click. The only way I can access it is through the open-file dialog.

I observed this in the beginning from certain network storage locations. Today I had it on my local disk also. I didn't see any settings in notepad++ that gave any indication that they might influence this.

Does anyone know what is the reason for this and also how I can "fix" this?

Windows 7 64Bit version


(Btw: It's not only xml files it seems, but I verified that it happens there!)

link|improve this question
feedback

2 Answers

up vote 1 down vote accepted
  1. Update your Notepad++ to latest version.

  2. Go to the installation folder of Notepad++, e.g c:/program files(x86)/notepad++ or wherever you installed it. Then right click the Notepad++ exe file, choose properties. On properties dialog go to 'compatibility' tab, to the bottom check the check box labeled "Run this program as administrator" and click OK.

This should resolve your problem.

link|improve this answer
So if you hacked the latest notepad++ version I just gave you admin rights on my computer ;) – StampedeXV Jan 26 at 12:25
@StampedeXV: Nah, that perception can't be correct because every other program which by default can open all those files, they by default have those rights, but there are few which don't have them by default, so they are not able to function normal. But we given the rights they will now able to open and run/edit files when we need. Plus if you are conscious about security, it must probably done by those antivirus/firewall software. – K. Shahzad Feb 22 at 8:51
feedback

I had the same issue but for me checking the "Run this program as administrator" did not work. So from the same compatibility tab, I checked instead "Run this program in compatibility mode for:" and selected "Windows XP (Service Pack 3)" This did the trick for me

link|improve this answer
Telling someone to run a text editor as administrator is TERRIBLE advice. – kreemoweet Apr 4 at 16:31
In general you are right. But if you know you are running it as Admin, you can take precautions and be very careful. The alternative to always go through open-file dialog is not an alternative. I'll try sam's advice. – StampedeXV Apr 12 at 13:59
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.