How do I write a custom command to open files with Notepad++ text editor in Windows Command prompt.
For eg.
C:\Sites>ntp abc.txt
opens the file abc.txt in Notepad++
Create a batch file containing this line
@START c:\Program Files\Notepad++\notepad++.exe "%1"
and put it into some directory that is in your PATH list (or, alternatively, add a directory with a .bat file to PATH).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With