Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Up until today I had text files set to open with Notepad++.

Today I moved my Notepad++ installation, and after that I am no longer to use "open with" to get a text file open in Notepad++, even though the program still works fine and I can load a text file by manually launching the program and then doing a File > Open.

If I go to Tools > Folder Options > File Types > Advanced, then I can manually type in the exact path to the executable that I want to use for opening txt files. However, if I enter the path to Notepad++ and click ok, after closing the window, if I re-open it the field has been automatically restored to reflect the path to standard Windows notepad.

Any ideas? Never seen anything like this in 10+ years of using XP... :-(

share|improve this question
    
screen shot and better explanation of "not allowing" please. –  Moab May 10 '12 at 15:20
    
Try adding path to notepad++.exe in environment variable. –  Stat-R May 11 '12 at 13:29
    
No privileges to do that, unfortunately. Thanks though. –  The111 May 16 '12 at 0:06
    
Same problem on Windows 7 x64. Cannot open with Notepad++ anymore –  Sebastien Jun 9 '12 at 8:31
    
Same problem with Windows 7 x64 - Notepad++ portable. Changed installation directory after associating it with certain file types, and now Open With menu does not show notepad++ even after browsing to its location. –  Michael Oct 16 '12 at 2:42
add comment

2 Answers 2

The program that you're pointing to isn't registered correctly.

In regedit: Navigate to Computer\HKEY_CLASSES_ROOT\Applications and find your .exe name. Navigate under its name to shell>open>command. In the Default change its location to the actual location of the executable, hit okay and then try and reassociate the file type as you normally would.

Source: http://answers.microsoft.com/en-us/windows/forum/windows_7-files/problems-with-file-association-in-windows-7-64-bit/8a84fcec-22df-4942-8e35-d98dbe96e327

share|improve this answer
    
Thanks, unfortunately I don't have admin privs on the computer in question. I'm getting around the problem by just not moving the folder. Actually, that computer has since been upgrade to Win7 (still don't have admin privs), but I put the folder where I wanted it to stay forever, the first time I ran the program. :-) I'll upvote you because it sounds like good info, but I don't think portable programs should NEED to be registered, that is kind of essential to the portable thing. –  The111 Oct 16 '12 at 5:40
    
@Michael: Thanks a lot. Your answer helped me with the same issue under Windows 7. Much appreciated! –  Echt Einfach TV Dec 2 '13 at 10:49
    
Helped me as well, I used to have portable apps on a different drive, seems even trying to set the default to open with the one installed on the right drive didn't update the path. –  jamiebarrow May 8 at 8:58
add comment

I don't know the direct answer to your problem, but in the past I've used http://download.cnet.com/OpenWith-Enhanced/3000-2094_4-75563165.html to get around some frusterations, and maybe it could work for you as a workaround.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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