Community
    • Login

    Setting Notepad++ as the default PRINT for .bat files

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 184 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Soapboy
      last edited by

      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?
      
      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @Soapboy
        last edited by

        @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

        1 Reply Last reply Reply Quote 2
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors