delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/27/15:32:48

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Sat, 27 Jan 2001 15:31:34 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cd command doesn't work
Message-ID: <20010127153134.A8030@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <01fd01c0889d$3bfdddb0$6701a8c0 AT dafcor1qondarn> <20010127151513 DOT A7673 AT redhat DOT com> <020801c0889f$bd887c30$6701a8c0 AT dafcor1qondarn>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <020801c0889f$bd887c30$6701a8c0@dafcor1qondarn>; from dfeustel@mindspring.com on Sat, Jan 27, 2001 at 03:28:42PM -0500

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 AT redhat DOT com>
>To: <cygwin AT cygwin DOT 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 AT cygnus DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019