This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
cd /d/somedir fails, but cd /d; cd somedir works
- To: cygwin at sourceware dot cygnus dot com
- Subject: cd /d/somedir fails, but cd /d; cd somedir works
- From: "Tolkin, Steve" <Steve dot Tolkin at fmr dot com>
- Date: Wed, 14 Jun 2000 09:52:10 -0400
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@sourceware.cygnus.com