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


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

I'm at a Linux system right now, so I typed that from what I remember.
It should be pretty close though.

-Jeremy

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