delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/13/13:21:17

X-Spam-Check-By: sourceware.org
Message-Id: <1137176462.24647.251800555@webmail.messagingengine.com>
From: "Brett Serkez" <techie AT serkez DOT net>
To: "zzapper" <david AT tvis DOT co DOT uk>, cygwin AT cygwin DOT com
MIME-Version: 1.0
References: <rfqfs1pkamechtg6btjim15bkrt2l6miq5 AT 4ax DOT com>
Subject: Re: cd to directory in paste buffer : shell function
In-Reply-To: <rfqfs1pkamechtg6btjim15bkrt2l6miq5@4ax.com>
Date: Fri, 13 Jan 2006 13:21:02 -0500
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

> I often want to cd to a (DOS) path that I've copied from some
> Windows App.
>
> The following function (put in one of your startup files .bashrc
> .profile etc)  saves a few clicks and is forward or backslash proof

[snip]

Without deminishing the value of this procedure, I simply wanted to say
there is another alternative.

Assuming that the cygwin chere package is installed, open Explorer and
paste the path into the address bar and click on go.  Once the directory
appears under folders, right click on it and select 'Bash Here'.

This doesn't address all the possibilities of the original method, it is
however quick to utilize with minimal setup.

Brett
----------------------------------------------------------------
Brett C. Serkez, Techie


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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