3

For some reason in Windows 8 if I try to open a file in Notepad++ by either rightclick > "Edit witrh Notepad++" or by rightclick > open with > Notepad++ it will only bring NPP to the foreground, but not open the file. The only way to open a file seems to be with the open/browse button in NPP. This is far less efficient, as I already found the file, and must then find it a second time through the file browser.

This is obviously a bug in either NPP, Win 8, or my system. Is anyone else experiancing this? if so, is there a way to fix it?

3
  • Are you using the latest build of N++? The one from Oct, 10? Nov 2, 2012 at 17:12
  • Yes, as soon as I noticed the problem I downloaded it and reinstalled. This did not fix it.
    – zeel
    Nov 2, 2012 at 17:19
  • Would you happen to know what build you were using before?
    – rtf
    Nov 2, 2012 at 17:27

1 Answer 1

10

If you run Notepad++ as an administrator (either by editing the shortcut, launching in admin manually, or by escalating for an upgrade, etc.), then it will do this until you close Notepad++ so that next time it launches it won't be in admin mode.

In other words, User mode Explorer doesn't like sending files to Admin mode Notepad++, but since only one instance can be run at a time, you have to close the admin mode version.

Or, you can leave it in admin mode and do a Notepad++ File->Open to the same file and it will open fine.

4
  • Beutiful, I didn't even realize my shortcut was set to admin mode, strange. But it worked.
    – zeel
    Nov 2, 2012 at 17:54
  • For more information, this issue existed in Windows 7 (and probably Vista as well), and would drive me crazy since after every upgrade, I'd have to close and restart to run as a standard user.
    – ernie
    Nov 2, 2012 at 17:54
  • Hm but unfortunately it needs to be run as admin to edit the hosts file, so that's rather annoying.
    – justisb
    Apr 12, 2014 at 20:42
  • damn, that explains this annoying case May 2, 2018 at 19:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .