This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: How to uniformly point to the root of a drive?


Hi All...

From: Christopher Faylor Subject: Re: How to uniformly point to the root of a drive?
Date: Sun, 20 May 2007 13:36:16 -0400


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 /)/..)

What is the difference between "cygpath -m ..." and "cygpath -wm ..."

Thanks,

...Karl

_________________________________________________________________
Like the way Microsoft Office Outlook works? You?ll love Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_outlook_0507



-- 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/


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