Is it possible to open two instances on startup?
-
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 -
@Wicke2d ,
At startup of windows? Yes, there are multiple ways.
-
You could create a
.bat
which runs two instances (ie, it callsc:\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.
-