X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=P+lXtG6WojNZgV2Q
	qPqG9s0O+XBZ2hv+vGgi53LhhHOFYSdrabh7KdoEqE1/gDZx2k+tCyRiR3kdNvIo
	vsri4mWm9A9SOf0dhN0lxhCuRdm1O1qNBWn3U7bnBym2oN6h/tCgCxfw/2n1vfsU
	RFkpVUdaJZtI9I3FK2HW27DFnhg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=jNPRsRjPj2NwOiYZZjHJPZ
	LPqtw=; b=uSLzO0UOQCJxlSFL0hWSnSqCzCV+69eXVRl2N7LL8Q73U389XgxZD0
	qVuLnuDf6ZVCrUo1D4E4p85pwMunSwHv6alE4Oe3mVEiKMWcZtz1vkwOlgXK/4Za
	6wAYXTj/4JyWSbC/P3zBDTKpxPgBqL8xlseeRliyAT4RnHpizHkdI=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=3.5 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtpback.ht-systems.ru
Date: Tue, 9 Sep 2014 02:48:57 +0400
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <1448944831.20140909024857@yandex.ru>
To: Gary Johnson <garyjohn@spocom.com>, cygwin@cygwin.com
Subject: Re: latest cygwin: 'run' problem
In-Reply-To: <20140908174606.GA4187@phoenix>
References: <5405C013.7030503@verizon.net> <87a96hrki4.fsf@Rainer.invalid>    <54060378.2070108@gmail.com> <5406680D.4030105@verizon.net>  <540761FA.1040902@verizon.net> <87ppfcqyc7.fsf@Rainer.invalid>  <540A600A.6090201@verizon.net> <540A6817.9080207@verizon.net>  <20140906201229.GA9220@phoenix> <20140908174606.GA4187@phoenix>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, Gary Johnson!

> I wrote a batch file and a shell script to implement a Run Bash Here
> feature from the Windows file manager "Send to" context menu, much
> like chere but without having to mess with the registry.  The
> hardest part was getting the quoting in the run command line right
> so that both cmd and bash were happy.  The files are included
> in-line below.

That's overengineered.

> ------------------------ run_bash_here.bat -------------------------
> --------------------------------------------------------------------

Replace it all with this "bash-here.cmd" placed in /bin :

@START "" /D "%~1" "%~dp0\mintty.exe"

> ------------------------- run_bash_here.sh -------------------------
> --------------------------------------------------------------------

This all is just not needed.
Just create a shortcut in "Sent to" to your bash-here.cmd - job done, reap the
rewards.


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 09.09.2014, <2:39>

Sorry for my terrible english...


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

