This is the mail archive of the cygwin@sourceware.cygnus.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]

cd /d/somedir fails, but cd /d; cd somedir works


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


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