teowey
teowey

Reputation: 101

Running Notepad++ from Windows command prompt

I'm new to Windows (I'm using Windows 7 right now). I have downloaded Notepad++ and added the path C:\Program Files\Notepad++\notepad++.exe; to the PATH environment variable. I quit the command prompt and opened it again, but when I type notepad++ (or notepadd++.exe) it says

'notepad++' is not recognized as an internal or external command, operable program or batch file.


I checked the PATH again with the echo command and it shows the included path. What is it that I'm doing wrong?

Upvotes: 4

Views: 6081

Answers (1)

Luke Davies
Luke Davies

Reputation: 96

You should add the directory containing your .exe to the path instead. Notice the existing entries in your path environment variable for example.

I.e. add this to your path:

C:\Program Files\Notepad++

Upvotes: 8

Related Questions