• Login
Community
  • Login

How can I open 2nd window of Notepad++ after restart of windows10

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
6 Posts 5 Posters 6.3k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    Syed Abdul Zuber
    last edited by Aug 19, 2019, 12:43 PM

    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 ?

    E 1 Reply Last reply Aug 19, 2019, 12:59 PM Reply Quote 0
    • E
      Ekopalypse @Syed Abdul Zuber
      last edited by Aug 19, 2019, 12:59 PM

      @Syed-Abdul-Zuber

      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.

      1 Reply Last reply Reply Quote 1
      • R
        rinku singh
        last edited by rinku singh Aug 19, 2019, 5:20 PM Aug 19, 2019, 5:19 PM

        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

        A 1 Reply Last reply Aug 19, 2019, 6:01 PM Reply Quote 0
        • A
          Alan Kilborn @rinku singh
          last edited by Aug 19, 2019, 6:01 PM

          @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).

          1 Reply Last reply Reply Quote 0
          • S
            Syed Abdul Zuber
            last edited by Aug 20, 2019, 7:22 AM

            Thank you @Ekopalypse
            Alan is right. The solution of @gurikbal-singh did not solve my problem.

            1 Reply Last reply Reply Quote 2
            • P
              PeterJones
              last edited by Aug 20, 2019, 1:18 PM

              @Syed-Abdul-Zuber ,

              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.

              1 Reply Last reply Reply Quote 3
              3 out of 6
              • First post
                3/6
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors