delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/05/05/16:43:49

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <f60fe000805051343p7f7f1585hd556dba71f93d408@mail.gmail.com>
Date: Mon, 5 May 2008 16:43:13 -0400
From: "Mark J. Reed" <markjreed AT mail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: how to change dir
In-Reply-To: <17070344.post@talk.nabble.com>
MIME-Version: 1.0
References: <17070344 DOT post AT talk DOT nabble DOT com>
X-Google-Sender-Auth: 379f36ba60e9d9b2
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

On Mon, May 5, 2008 at 4:40 PM, bench33 <bench_warmer2003 AT yahoo DOT com> wrote:
>  In bash, how do you change to another directory?
>
>  I see that the only directory I can go is home (c:\cygwin)
>
>  I have other physical drives (d:\). How do I go there?

Cygwin apps (including bash) don't understand drive:paths.  Use

cd /cygdrive/d/

You can let the cygpath utility do the conversion for you:

cd "$(cygpath 'd:\')"

-- 
Mark J. Reed <markjreed AT gmail DOT com>

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