Community
    • Login

    running bat files

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

      can i run bat files in notepad++?

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • tseGITT
        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
          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
            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
              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
              • First post
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors