X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 AT cygwin DOT com From: carolus Subject: Re: Invoking Cygwin vim from Windows Explorer Date: Sun, 09 Feb 2014 22:44:42 -0600 Lines: 33 Message-ID: References: <1527769059 DOT 20140209090943 AT mtu-net DOT ru> <832507782 DOT 20140209183702 AT mtu-net DOT ru> <1935757972 DOT 20140210000737 AT mtu-net DOT ru> <1917455121 DOT 20140210021657 AT mtu-net DOT ru> <1798057018 DOT 20140210054916 AT mtu-net DOT 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