Community
    • Login

    How to call Cygwin on the same directory of npp file focused?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    program to rundirectory
    3 Posts 2 Posters 340 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.
    • gwarahG
      gwarah
      last edited by gwarah

      Hello npp users,

      I want to call cygwin (by Menu - Run - Run … ) so that the current cygwin directory would be the same as the npp file focused.

      Any Idea?

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse @gwarah
        last edited by

        @gwarah

        here an example for cmd: cmd /K cd $(CURRENT_DIRECTORY)
        Should be easy to convert to cygwin.

        gwarahG 1 Reply Last reply Reply Quote 4
        • gwarahG
          gwarah @Ekopalypse
          last edited by

          @Ekopalypse indeed a good example

          c:\cygwin\bin\mintty.exe --dir "$(CURRENT_DIRECTORY)" -i /Cygwin-Terminal.ico -

          tks a lot!

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