• Login
Community
  • Login

running bat files

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
5 Posts 3 Posters 343 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.
  • Z
    zeta orionis
    last edited by zeta orionis Jun 22, 2023, 5:42 AM Jun 22, 2023, 5:39 AM

    can i run bat files in notepad++?

    A 1 Reply Last reply Jun 22, 2023, 10:52 AM Reply Quote 0
    • T
      tseGIT
      last edited by Jun 22, 2023, 7:02 AM

      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”)

      Z 1 Reply Last reply Jun 24, 2023, 4:19 AM Reply Quote 0
      • A
        Alan Kilborn @zeta orionis
        last edited by Jun 22, 2023, 10:52 AM

        @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
        • Z
          zeta orionis @tseGIT
          last edited by Jun 24, 2023, 4:19 AM

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

          A 1 Reply Last reply Jun 24, 2023, 10:42 AM Reply Quote 0
          • A
            Alan Kilborn @zeta orionis
            last edited by Jun 24, 2023, 10:42 AM

            @zeta-orionis

            Example with spaces:

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

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