Setting Notepad++ as the default PRINT for .bat files
-
As the title suggest. I want to be able to right click then push PRINT on the .bat file through Notepad++. I already made it a default EDIT, but when I use the same RegEdit trick with PRINT, it doesn’t work
"C:\Program Files\Notepad++\notepad++.exe" /p "%1"
Simply returns
"C:\p" does not exist. Create it?
-
@Soapboy ,
That’s because
/p
is not Notepad++'s command-line option for printing (or for anything else, which is why it tries to open a file called/p
). The ?-menu’s Command Line Arguments… dialog will show all the command-line options, or you can look in the Online User Manual’s Command Line Arguments page. Specifically,-quickPrint
is the way to be able to make Notepad++ print the document from the command-line