This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cd command doesn't work


On Sat, Jan 27, 2001 at 03:28:42PM -0500, David Feustel wrote:
>The cd command works if I exit ksh and run in bash.

The cd command works pretty much everywhere if you use the right syntax.

cgf

>----- Original Message ----- 
>From: "Christopher Faylor" <cgf@redhat.com>
>To: <cygwin@cygwin.com>
>Sent: Saturday, January 27, 2001 3:15 PM
>Subject: Re: cd command doesn't work
>
>
>> On Sat, Jan 27, 2001 at 03:10:46PM -0500, David Feustel wrote:
>> >I'm running cygwin 1.0 (cdrom version) on Windows 2000.  from ksh, all
>> >attempts to cd to a different drive fail.  The help info says to do cd
>> >[/D] drive:path.  No combination that I have tried yet works for me.
>> 
>> What "help info" are you talking about?  If you say "help cd" you're
>> probably getting the Windows help for the command, not the ksh version.
>> 
>> ksh uses the same mechanism as any other Cygwin tool.  You type cd /usr
>> to change to /usr and cd /cygdrive/c/foo to change to the foo directory
>> on the c drive.
>> 
>> >Is cd broken? 
>> >Is there a work around?
>> 
>> Yes.  Use the proper syntax.
>> 
>> cgf
>> 
>> --
>> Want to unsubscribe from this list?
>> Check out: http://cygwin.com/ml/#unsubscribe-simple
>> 
>
>
>--
>Want to unsubscribe from this list?
>Check out: http://cygwin.com/ml/#unsubscribe-simple

-- 
cgf@cygnus.com                        Red Hat, Inc.
http://sources.redhat.com/            http://www.redhat.com/

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]