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

How do open a file in Notepad++ from cmd?
4.7 (93.33%) 3 votes