Community
    • Login

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

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 501 Views 2 Watching
    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 Offline
      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 Offline
        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors