delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/14/09:53:53

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <F614BF868E0DD411A5A700508B957E0038D02B@MSGBOS679NTS.fmr.com>
From: "Tolkin, Steve" <Steve DOT Tolkin AT fmr DOT com>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: cd /d/somedir fails, but cd /d; cd somedir works
Date: Wed, 14 Jun 2000 09:52:10 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)

I can cd to a drive other than C: in two steps, as follows:
  cd /d
  cd somedir

This assumes I have earlier done, in a DOS box: 
  cd /
  mkdir d
  mount d:\ /d

But I cannot do this in one step i.e. 
  cd /d/somedir 
fails with the error message:
  bash: cd: /d/somedir: No such file or directory
Why?

I can do it in one step using the clunky syntax 
  cd /cygdrive/d/somedir

Is there a short alias for cygdrive?

In some releases of cygwin I could say 
  cd //d/somedir
which is reasonable.
But I heard that this syntax is being deprecated.
Why?

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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