Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 505
teowey Avatar asked Oct 22 '25 06:10

teowey


1 Answers

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++
like image 91
Luke Davies Avatar answered Oct 27 '25 06:10

Luke Davies



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!