Community
    • Login

    running bat files

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 3 Posters 586 Views 1 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.
    • zeta orionisZ Offline
      zeta orionis
      last edited by zeta orionis

      can i run bat files in notepad++?

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • tseGITT Offline
        tseGIT
        last edited by

        open %appdata%/notepadd++/shortcuts.xml
        in the chapter <UserDefinedCommands> you can add your batchfile-calls
        an example may look like this
        <Command name=“callAA” Ctrl=“yes” Alt=“no” Shift=“yes” Key=“107”>aa.cmd $(CURRENT_WORD)</Command>

        after restarting notepad++ you will find this entry under Execute (“Ausführen”)

        zeta orionisZ 1 Reply Last reply Reply Quote 0
        • Alan KilbornA Online
          Alan Kilborn @zeta orionis
          last edited by

          @zeta-orionis

          can i run bat files in notepad++?

          Sure, this works for me:

          74619a4b-b111-4919-bef3-8cec1a144601-image.png

          1 Reply Last reply Reply Quote 3
          • zeta orionisZ Offline
            zeta orionis @tseGIT
            last edited by

            @tseGIT if the file name contains spaces, do I include the spaces?

            Alan KilbornA 1 Reply Last reply Reply Quote 0
            • Alan KilbornA Online
              Alan Kilborn @zeta orionis
              last edited by

              @zeta-orionis

              Example with spaces:

              e76fd26d-a003-4fa9-abe4-c5c32d85d815-image.png

              1 Reply Last reply Reply Quote 3

              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