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).
1.4m articles
1.4m replys
5 comments
57.0k users