I installed Notepad++ Portable 4.2.1 on Windows XP SP2. When I want to associate it with .txt extension, I found that does not work. I checked the registry:
Under HKCR\.txt, (Default) has been set to "Notepad++_file". However, there is no "Notepad++_file" key under HKCR.
If I manually create "Notepad++_file" and set the sub-key "Notepad++_file\shell\open\command\(Default)" to the path of Notepad++Portable.exe, once I open Notepad++ Portable, the application will change the original name of the key to "Notepad++_file-BackupByNotepad++Portable"(may be not exactly the name, sorry). This means I can only open a .txt file with Notepad++ once, not twice or more.
The original Notepad++ associates the file extensions perfectly. Is it a bug of the portable version?
Thank you!
You are not supposed to associate file types with portable applications. They, by definition, are not portable.
-----
In a perfect world Wiis would be free.
In an imperfect world only wheees are free.
cowsay Moo
cowthink 'Dude, why are you staring at me.'