How do open a file in Notepad++ from cmd?

Even though the Notepad++ directory is not in your path, you can use the command below to run the program from the command prompt:

To open a file in Notepad++, run:

Examples:

How do open a file in Notepad++ from cmd
Controlling Notepad++ at startup by passing it Command Line Options

We work in PowerShell and just create a function called npp in my profile script

Notepad++ History

Notepad++ was developed by Don Ho in September 2003. The developer used a Java-based text editor (JEXT) at his company but, dissatisfied with its poor performance, he began to develop a text editor written in C++ with Scintilla.

4.7/5 - (3 votes)