Navigation

    Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

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

    Help wanted · · · – – – · · ·
    program to run directory
    2
    3
    125
    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.
    • gwarah
      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?

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

        @gwarah

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

        gwarah 1 Reply Last reply Reply Quote 4
        • gwarah
          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
          Copyright © 2014 NodeBB Forums | Contributors