X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-Id: <481F728C.50303@saic.com>
Date: Mon, 05 May 2008 16:48:12 -0400
From: Roger Wells <ROGER.K.WELLS@saic.com>
Reply-To: roger.k.wells@saic.com
User-Agent: Thunderbird 2.0.0.14 (X11/20080421)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: how to change dir
References: <17070344.post@talk.nabble.com> <f60fe000805051343p7f7f1585hd556dba71f93d408@mail.gmail.com>
In-Reply-To: <f60fe000805051343p7f7f1585hd556dba71f93d408@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
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



Mark J. Reed wrote:
> On Mon, May 5, 2008 at 4:40 PM, bench33 <bench_warmer2003@yahoo.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:\')"
>
>   
cd c:/windows
works fine, note forward slash

-- 
Roger Wells, P.E.
SAIC
221 Third St
Newport, RI 02840
401-847-4210 (voice)
401-849-1585 (fax)
roger.k.wells@saic.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/

