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:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding
	:in-reply-to; q=dns; s=default; b=mU5o+IyoZS42uxEkHk4UeCUeXj54Ej
	pCagZT5hwByXT+ogI9e45c/gNpfkpgM5CuwpmMPGq1XcBixsFsYBdPfrpkKl9UBy
	YMtld3frt1oMFNIDmdgiINsS37OMnYwzn5EjpbPUJCew95OmumHokznVTceL3mF2
	kgAfv2bCd+Rto=
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:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding
	:in-reply-to; s=default; bh=/P2zVjg2T/yqjENjvI1uv4JWndU=; b=cDXw
	JuwH/IAJpP7XXrIOSlhKPXm9o9hwJgeHAhCon0AR5mn+/FK30EeSlRPH/0Gt2kaN
	+urb+OBxKSdfNWiytytnLSoUQOKKNPLKd5seErB5TCi/4IauMBlqeF2DDx75fq62
	1kE1twe+8pnQ/eRVjSaOMZwjcJITam52ScTbXdM=
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=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: plane.gmane.org
To: cygwin@cygwin.com
From: carolus <worwor@bellsouth.net>
Subject: Re: Invoking Cygwin vim from Windows Explorer
Date: Sun, 09 Feb 2014 22:44:42 -0600
Lines: 33
Message-ID: <ld9lfk$60b$1@ger.gmane.org>
References: <ld6vd9$jnr$1@ger.gmane.org> <1527769059.20140209090943@mtu-net.ru> <ld81nr$im5$1@ger.gmane.org> <832507782.20140209183702@mtu-net.ru> <ld8cs9$789$1@ger.gmane.org> <1935757972.20140210000737@mtu-net.ru> <ld8s07$cie$1@ger.gmane.org> <1917455121.20140210021657@mtu-net.ru> <ld92t1$jr1$1@ger.gmane.org> <1798057018.20140210054916@mtu-net.ru>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
In-Reply-To: <1798057018.20140210054916@mtu-net.ru>
X-IsSubscribed: yes

On 2/9/2014 7:49 PM, Andrey Repin wrote:
> Greetings, carolus!
>
>>> Just create a shell link in your personal "Send To..." folder with specified
>>> command. On Windows XP, it is in "%USERPROFILE%/SendTo".
>
>>     On Windows 7, %USERPROFILE$ points to my user folder.  But I get an
>> "access forbidden" message if I try to open the SendTo subdirectory from
>> Explorer.
>
> It's likely a symlink... Let me find my netbook.
>
> It's in "%AppData%/Microsoft/Windows/SendTo"

I've finally tracked it down on my Windows 7 computer to

/cygdrive/c/Users/cdr/AppData/Roaming/Microsoft/Windows/SendTo


.> Just make a copy of default Cygwin shortcut in SendTo, and edit it's
> command line to suit your needs.

Did that.  In the shortcut properties, I followed Anton (with slight 
modification, since I routinely put my own stuff in /usr/local) to enter 
in the "target" field

C:\cygwin\bin\mintty.exe -e c:\cygwin\bin\bash.exe -c 
C:\cygwin\usr\local\bin\vim.sh

with the vim.sh that he suggests.

Right-click and "Send To" now briefly flashes a Cygwin console but then 
immediately closes it.


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

