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 633 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.
    • gwarahG Offline
      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 Offline
        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 Offline
          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

          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