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: 1.7] Can you have multipe cygdrive path prefixes active at once


Jeremy Bopp wrote:
>aputerguy wrote:
>> In particular, I can't use "mount -p" to distinguish between prefixes
>> that
>> might have (variable) number of trailing spaces (which is allowed).
>
> I believe that you want to use the cygpath program if you want to
> convert POSIX paths to Windows paths reliably.  Assuming the default
> cygdrive prefix is in use:
>
> $ cygpath -w /cygdrive/c/an/example/posix/path
> C:\an\example\posix\path

All true and known. BUT I want to know the cygdrive prefix in general for
use in future constructions rather than just making a single path. Say if I
want to find all files, I want to do something like "find <cygdrive-prefix>


-- 
View this message in context: http://old.nabble.com/1.7--Can-you-have-multipe-cygdrive-path-prefixes-active-at-once-tp26227605p26230853.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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


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