• Login
Community
  • Login

Is it possible to open two instances on startup?

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
2 Posts 2 Posters 118 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.
  • W
    Wicke2d
    last edited by Mar 9, 2025, 10:08 AM

    Currently notepad++ opens on startup, preserving position, size, tabs, and last open file. That’s very convenient. I have a dual desktop setup, so I would like to extend this convenience further by having an additional separate instance open on startup, with its own such preservations. Is this possible?
    I know it is possible to drag a tab out of the window to create a separate instance for editing that file. The feature I want would remove the need of having to manually keep doing that.

    Notepad++ v8.2.1 (32-bit)
    Build time : Jan 19 2022 - 18:38:49
    Path : C:\Program Files (x86)\Notepad++\notepad++.exe
    Command Line :
    Admin mode : OFF
    Local Conf mode : OFF
    Cloud Config : OFF
    OS Name : Windows 10 Enterprise (64-bit)
    OS Version : 2009
    OS Build : 19045.4291
    Current ANSI codepage : 1252
    Plugins : none

    P 1 Reply Last reply Mar 9, 2025, 3:39 PM Reply Quote 0
    • P
      PeterJones @Wicke2d
      last edited by Mar 9, 2025, 3:39 PM

      @Wicke2d ,

      At startup of windows? Yes, there are multiple ways.

      • You could create a .bat which runs two instances (ie, it calls c:\Program Files (x86)\Notepad++\notepad++.exe twice, at least one of which with the -multiInst option, or having the always-use-multiple-instances setting on in your Notepad++ config), and put that in your Startup folder (search the interwebs to see how to add something to the startup folder for your particular Windows version).

      • Or you could use Task Scheduler to create a task that runs two instances of Notepad++ (again, with the -multiInst or the preference equivalent mentioned above)

      I have a dual desktop setup

      I, however, don’t think that either of those solutions would be able to put a separate instance on a specific Desktop when you first boot.

      I want to say maybe you could do it with calling a different session from the command-line in each, but I don’t think that would be able to automatically run them at bootup. Maybe someone else has some ideas.

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