www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/11/29/18:57:59

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
X-Attachments: None
From: "Roe, Kevin L." <roe2 AT llnl DOT gov>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Mon, 29 Nov 2010 15:57:40 -0800
Subject: RE: 1.7.7: Open BASH Shell Here goes to wrong location
Message-ID: <C742AC34C772EC4BAAF642C22E6079D301376F8E8938@NSPEXMBX-A.the-lab.llnl.gov>
References: <70952A932255A2489522275A628B97C30EEAD0DC AT xmb-sjc-233 DOT amer DOT cisco DOT com>
In-Reply-To: <70952A932255A2489522275A628B97C30EEAD0DC@xmb-sjc-233.amer.cisco.com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Well, you may have noticed that my registry entries look remarkably like wh=
at chere produces.  I used "chere -i -p -c -t minty" to find my working sol=
ution (with the hoops).  I built my "BASH shell here" context menu before "=
chere" existed.  I based it on the "cmd shell here" powertoy.  It started o=
ut being rxvt, but I converted it to minty when I learned of it.

My original version
@=3D"C:\\cygwin\\bin\\mintty.exe -"
used to work, but now I have to use the "chere" version
@=3D"C:\\cygwin\\bin\\mintty.exe -e /bin/xhere /bin/bash.exe \"%L\""

The new version seems very long winded.  I'm just trying to understand why =
the simple version no longer works.

-Kevin

> -----Original Message-----
> Behalf Of Matt Seitz (matseitz)
> Sent: Monday, November 29, 2010 3:47 PM
> Subject: Re: 1.7.7: Open BASH Shell Here goes to wrong location
>=20
> "Roe, Kevin L." wrote:
> >I know Windows explorer is supposed to pass the location to minty, so
> why do I need to jump through these hoops?
>=20
> I'm curious.  Why are you editing the registry by hand instead of using
> "chere"?
>=20
> http://code.google.com/p/mintty/wiki/Tips#Creating_a_folder_context_men
> u
> _entry_for_mintty
>=20
>=20
> > -----Original Message-----
> > Behalf Of Roe, Kevin L.
> > Sent: Monday, November 29, 2010 11:12 AM
> > Subject: 1.7.7: Open BASH Shell Here goes to wrong location
> >
> >
> >
> > I have set up a registry entry:
> >
> > [HKEY_CLASSES_ROOT\Directory\shell\bashrxvt]
> > @=3D"&Open BASH Shell Here"
> > [HKEY_CLASSES_ROOT\Directory\shell\bashrxvt\command]
> > @=3D"C:\\cygwin\\bin\\mintty.exe -"
> > [HKEY_CLASSES_ROOT\Drive\shell\bashrxvt]
> > @=3D"&Open BASH Shell Here"
> > [HKEY_CLASSES_ROOT\Drive\shell\bashrxvt\command]
> > @=3D"C:\\cygwin\\bin\\mintty.exe -"
> >
> > This creates the BASH Shell here links in Explorer, but there is a
> > problem.
> >
> > When I try to use it, it goes to the wrong location.
> >
> > When I use it in the directory tree side (left side) it always goes
> to
> > the /cygdrive/c/Windows/system32 directory
> >
> > When I use it in the Directory side (right side) it always goes to
> one
> > level below what I am selecting.
> >
> > Any ideas?
> >
> > Kevin
>=20
> ----------
>=20
> --
> 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


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019