delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
From: | "Robert Mark Bram" <relaxedrob AT optushome DOT com DOT au> |
To: | "Cygwin" <cygwin AT cygwin DOT com> |
Subject: | cygpath question |
Date: | Fri, 24 Jan 2003 17:07:53 +1100 |
Message-ID: | <DDEDIPLLKIAMLBCBFCHEEEJACDAA.relaxedrob@optushome.com.au> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
Importance: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1106 |
Howdy all! I am trying to write a little script that will allow me to "cd" to any directory in Cygwin by pasting in the Windows path.. Here is a screen dump of my work so far: $ function cdd () { > cd "`cygpath --unix "$*"`" > } $ pwd / $ cdd C:\My Music $ pwd /cygdrive/c/My Music $ cdd C:\Rob\mcd3060\Tri32002\a2 bash: cd: C:Robmcd3060Tri32002a2: No such file or directory $ pwd /cygdrive/c/My Music $ Why does the first use work but not the second? *puzzled* Any help would be appreciated! Rob :) :-> :-} -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |