How do I start Notepad++ from cmd?

You could add C:\Program Files (x86)\Notepad++ to your PATH environment variable.

For example, you could run the following on the command prompt:

set PATH=%PATH%;C:\Program Files (x86)\Notepad++

For further options, see What are PATH and other environment variables, and how can I set or use them?


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

start notepad++

To open a file in Notepad++, run:

start notepad++ <filename>