From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4833 invoked by alias); 20 Mar 2016 19:27:41 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 9055 invoked by uid 89); 20 Mar 2016 17:55:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_50 autolearn=ham version=3.3.2 spammy=barry, helped, highlighted, noticeable X-HELO: nihxway5out.hub.nih.gov Received: from Unknown (HELO nihxway5out.hub.nih.gov) (128.231.90.113) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sun, 20 Mar 2016 17:52:20 +0000 X-SBRS-Extended: Low X-IronPortListener: Outbound_SMTP IronPort-PHdr: =?us-ascii?q?9a23=3AE90W2heFpuxnD4g8Qq9eEJGylGMj4u6mDksu8pMi?= =?us-ascii?q?zoh2WeGdxc6ybB7h7PlgxGXEQZ/co6odzbGG4+a4CCdZuMnJmUtBWaIPfidNsd?= =?us-ascii?q?8RkQ0kDZzNImzAB9muURYHGt9fXkRu5XCxPBsdMs//Y1rPvi/6tmZKSV3BPAZ4?= =?us-ascii?q?bt74BpTVx5zukbviq9uLMk4R3WX1SIgxBSv1hD2ZjtMRj4pmJ/R54TryiVwMRd?= =?us-ascii?q?5rw3h1L0mYhRf265T41pdi9yNNp6BprJYYAu2pN5g/GPZTHTs5MmYd79zkqhjF?= =?us-ascii?q?CwCI4zFUBm4HnQVJBSDO/R7lX5G3uSz/4LlTwi6faIfcULs0UzWk46pxDFfCgT?= =?us-ascii?q?0dJnZ51kD3zepRpYN34VqSiik1i9r+SpyeNPB/eK/QZ/scRGNAUoBXViwHDYSi?= =?us-ascii?q?OdhcR9EdNPpV+tGu72AFqgGzUFGh?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2ADAgBM4u5W/4BHKJxdgzOBS7ocAQ2Bb?= =?us-ascii?q?4YNAoEgOBQBAQEBAQEBAWMcC4ItghQBAQEEEihPAgEIDQsKFBAfExcBDQIEGxq?= =?us-ascii?q?IBQWlJJkmAQEBBwEBAQEBG4Yfg0R/hDyDK4IrBZdXARaNbYlKhT2PBh4BAUKDZ?= =?us-ascii?q?YoBAX0BAQE?= X-IPAS-Result: =?us-ascii?q?A2ADAgBM4u5W/4BHKJxdgzOBS7ocAQ2Bb4YNAoEgOBQBAQE?= =?us-ascii?q?BAQEBAWMcC4ItghQBAQEEEihPAgEIDQsKFBAfExcBDQIEGxqIBQWlJJkmAQEBB?= =?us-ascii?q?wEBAQEBG4Yfg0R/hDyDK4IrBZdXARaNbYlKhT2PBh4BAUKDZYoBAX0BAQE?= Received: from unknown (HELO msgb12.nih.gov) ([156.40.71.128]) by nihxway5out.hub.nih.gov with ESMTP/TLS/AES256-SHA; 20 Mar 2016 13:52:10 -0400 Received: from MSGB09.nih.gov ([169.254.9.241]) by msgb12.nih.gov ([169.254.2.246]) with mapi id 14.03.0235.001; Sun, 20 Mar 2016 13:52:10 -0400 From: "Buchbinder, Barry (NIH/NIAID) [E]" To: "cygwin@cygwin.com" Subject: RE: faster opening Cygwin from Explorer window Date: Sun, 20 Mar 2016 19:27:00 -0000 Message-ID: <6CF2FC1279D0844C9357664DC5A08BA21BD79586@msgb09.nih.gov> References: <0D835E9B9CD07F40A48423F80D3B5A702EAE5FD0@USA7109MB022.na.xerox.net> <56EC182F.7080802@gmail.com> In-Reply-To: <56EC182F.7080802@gmail.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SW-Source: 2016-03/txt/msg00426.txt.bz2 Marco Atzeri sent the following at Friday, March 18, 2016 11:01 AM >On 18/03/2016 15:43, Nellis, Kenneth wrote: >> I frequently ping-pong back and forth between working in the Windows >> and Cygwin environments, needing to keep both Explorer windows and >> Cygwin PWD focused on the same folder/directory. (I use mintty in >> Cygwin.) >> >> To open an Explorer window to my Cygwin PWD, I can simply type "cygstart= .". >> The reverse is a clumsy bit of typing and mousing: From Cygwin/bash, >> enter "cd " (but not Return), go to my Explorer window and drag the >> folder icon from the address bar into the mintty window and press return. >> I'm looking for a simpler method. >> >> My ideal scenario is to right-click in the Explorer window, select the >> new Cygwin option that I'd like to appear, and this would open a >> mintty/bash window with PWD set to that Windows folder. >> >> Long shot, I know, but if anyone has done this and is willing to share >> I'd love to hear about it. BTW, I'm using Windows 7 and am current on >> Cygwin 64-bit. > > "Cygwin Prompt Here context menus" > looks on chere package For a while recently - and for unknown reasons - the chere menu entries were not working for me. I ended up creating a shortcut in my SendTo folder/menu that would open a bash window in the directory containing the highlighted file or folder. Not perfect, but better than nothing. Target: C:\cygwin\bin\mintty.exe -e /bin/xhere /bin/bash.exe "%L" Start in: [leave blank] I don't remember whether there might be any customizations in .bashrc that helped this to work, so YMMV. BTW, chere is back working for me now. Don't remember what - if anything noticeable - changed. - Barry -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple