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 FilesNotepad++ otepad++.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).
2.1m questions
2.1m answers
60 comments
57.0k users