How to uniformly point to the root of a drive?

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Sun May 20 17:55:00 GMT 2007


On Sun, May 20, 2007 at 01:27:05PM -0400, Christopher Faylor wrote:
>So it sounds like Brian's method would work then wouldn't it?

Does this give you what you want, too?

driveroot=$(cygpath $(cygpath -wm /)/..)

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