« Return to Thread: how to change dir

Re: how to change dir

by rogerwells :: Rate this Message:

Reply to Author | View in Thread



Mark J. Reed wrote:

> On Mon, May 5, 2008 at 4:40 PM, bench33 <bench_warmer2003@...> 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@...


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

 « Return to Thread: how to change dir