notepad++

Open new instance of Notepad++


I have been using Notepad++ for years and still prefer it to most other source code editors, especially when it comes to web development. Its a great program that both Brian and I use everyday and recommend to anyone out there needing a good, solid code editor. However, one thing that has always bugged me about Notepad++ is that by default, you can only have one single instance of the program open at a time. If there is already an instance of Notepad++ open anywhere on your desktop, trying to open the program again will simply bring focus to the instance of the program that is already open. I don’t know why they haven’t set it to always open a new instance of the program by default, but fixing this minor annoyance is too easy to care. I will go ahead and show you two solutions for getting a new instance of Notepad++ to open up and as many as you want after that!

Solutions for getting a new instance of Notepad++

Solution 1:

This solution is the one I use because it is permanent and involves changing the action of the program’s shortcut. All you have to do is add a simple command line switch! Go to the Notepad++ shortcut that you use to open the program, this can be in your start menu, on your desktop, or on your taskbar. (You can also add this command to all three shortcuts if you like) Right click on the shortcut and go to ‘Properties’. By default, the ‘Shortcut’ tab should be focused on, but if not, select the ‘Shorcut’ tab at the top. Now go to the text field labeled ‘Target:’, place your cursor at the end of all the current text, even the last quotation mark, put one space in, and then add the command ‘-multiInst’.

On a 64 bit OS:

"C:\Program Files (x86)\Notepad++\notepad++.exe" -multiInst

On a 32 Bit OS:

"C:\Program Files\Notepad++\notepad++.exe" -multiInst

(Take a look at the picture below to see exactly what it looks like) Now simply just click ‘Apply’ and your all done! Now when you open Notepad++ from that shortcut, it will by default open a new instance of the program! Enjoy!

Notepad++ Shortcut Properties

Solution 2:

This isn’t really a fix, but rather an option in Notepad++ that can be used if you want to get a file into a new instance quick. All you have to do is simply right click on the tab for the file in Notepad++ you are wanting to move over, and choose one of the two options located at the bottom of the list. You can either choose to move the tab out of the current instance and into a new one or to open up another copy of that file in a new instance.

The reason I don’t use this is simply because it always requires you to move something over to get a new instance to open. I like my first solution because I can start as many new, fresh instances of Notepad++ as I want and drag my files wherever I want them.

You may also like:

Uninstall Dell Backup and Recovery Manager This will show you how to uninstall and remove the Dell Backup and Recovery Manager. It will show you how to disable it from the task tray. Simply uni...
Zenburn.xml Theme Tweaked for Notepad++ By default I love the zenburn theme for Notepad++. Very easy on the eyes. However, the fold lines were a bold red and jumped out horribly. There are a...
Comments
  1. Posted by Miller
  2. Posted by Someone
  3. Posted by Micha
  4. Posted by Chris
  5. Posted by Andrew
    • Posted by Brian Jackson
  6. Posted by JL
  7. Posted by Yoann Bierling

Add Your Comment