This should be pretty simple for any experienced users of NPP.
Desired behavior:
Double-click Notepad++ session file (I use .npp)
Session opens in Notepad++
I understand the session file can be opened after opening Notepadd++ from the Open File dialog, but that is not the desired behavior. I've achieved the desired behavior on WinXP and Win8 with no problem, but can't get Win7 (x64) to cooperate. First, I tried simply changing session extension to npp (Settings > Preferences > Misc). But since no program was associated with .npp, I got the "Open With..." menu. Next, I tried associating .npp files with Notepad++, but then the files open in Notepad++ as raw text files, not session files. What am I missing? I've done this before many times, just never on Win7. Thank you very much, I tried Google for an hour but found no help.
Double-click Notepad++ session file (I use . npp) Session opens in Notepad++
If you cannot open your SESSION file correctly, try to right-click or long-press the file. Then click "Open with" and choose an application. You can also display a SESSION file directly in the browser: Just drag the file onto this browser window and drop it.
Open Notepad++ Navigate to: Settings -> Preferences -> Backup. Ensure that "Remember current session for next launch" and "Enable session snapshot and periodic backup" are selected.
Settings > Preferences > MISC > Session file ext
"If an extension is entered in Session file ext, Notepad++ will try to open these files as session files instead of regular files. This allows you to simply provide a session file via the command line or any other method of opening a file to load a session into Notepad++."
http://npp-community.tuxfamily.org/documentation/notepad-user-manual/settings/preferences
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With