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.2k 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.
    • Syed Abdul ZuberS
      Syed Abdul Zuber
      last edited by

      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 ?

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse @Syed Abdul Zuber
        last edited by

        @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
        • rinku singhR
          rinku singh
          last edited by rinku singh

          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

          Alan KilbornA 1 Reply Last reply Reply Quote 0
          • Alan KilbornA
            Alan Kilborn @rinku singh
            last edited by

            @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
            • Syed Abdul ZuberS
              Syed Abdul Zuber
              last edited by

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

              1 Reply Last reply Reply Quote 2
              • PeterJonesP
                PeterJones
                last edited by

                @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
                • First post
                  Last post
                The Community of users of the Notepad++ text editor.
                Powered by NodeBB | Contributors