Programatically finding value of "cygdrive" prefix

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Tue Aug 16 21:28:00 GMT 2005


On Tue, Aug 16, 2005 at 05:10:25PM -0400, Igor Pechtchanski wrote:
>There may not be a C: drive, but "cygpath -u c:" will do the right thing
>-- try it with a drive you don't have.

  mount -f c: /willthisthreadeverdie
  cygpath -u c:
  /willthisthreadeverdie

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list