How can I open 2nd window of Notepad++ after restart of windows10
-
I was using 2 separate windows of Notepad++. 1st window(primary) of Notepad++ had 10 open tabs and 2nd window(secondary) of Notepad++ had 15 open tabs.
My desktop restarted automatically after some windows 10 patching. After reboot of my desktop, I am clicking on Notepad++ icon to open. I can see only 1st Window(primary) of Notepad++ which had 10 open tabs but not the second.
How can I open 2nd window(secondary) of Notepad++ which had 15 open tabs ? -
you can’t, as of npp 7.7.1, this isn’t supported.
Session information are written at npp exit and only one instance is supported, so
the last npp window you close will write which files do get recreated on next start.
If you want to use multiple npp instances with different files you need to store each of them as unique sessions. -
menu item > Run > Open file in another instance (ATL + F6 )
Notepad++ v7.7.1 (32-bit)
Build time : Jun 16 2019 - 21:14:50
Path : C:\Program Files\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS : Windows 7 (32-bit)
Plugins : mimeTools.dll NppConverter.dll NppExport.dll NppToolBucket.dll Remove_dup_lines.dll -
@gurikbal-singh said:
menu item > Run > Open file in another instance (ATL + F6 )
Not helpful in this case. OP knows this. OP wants to recover 15 open tabs worth of data (well, I’m pretty sure that is what is being asked).
-
Thank you @Ekopalypse
Alan is right. The solution of @gurikbal-singh did not solve my problem. -
Alan is right. The solution of @gurikbal-singh did not solve my problem.
Understood. Did you try what @Ekopalypse suggested?
If you want to use multiple npp instances with different files you need to store each of them as unique sessions.
In case you are unsure how to do that: in each instance of Notepad++, once you have each set up the way you want, you can do a File > Save Session. When you re-open the multiple Notepad++ instances, in each instance you can go to File > Load Session and load the appropriate session for that instance.
If you follow the advice in this post, you can actually set up the file extension
.nxml
to be a Notepad++ Session file, so you can just use Windows Explorer and double-click on the session file, and it will open your session. However, you’ll want to change step 9 to(Default)
="%ProgramFiles%\Notepad++\notepad++.exe" -multiInst -openSession "%1" %*
(i.e., add the-multiInst
option to the command listed in the other post), so that each.nxml
session will open in a separate Notepad++ instance.