Windows-style pathname does not work as command - why?
Thu Sep 9 20:57:00 GMT 2010
On 9/9/2010 2:27 PM, Morgan Gangwere wrote:
> on Thu, 09 Sep 2010 13:50:08 -0500, Jeremy Bopp <4C892C60.email@example.com>
> attacked their terminal with
> +Actually, this function only works if the user has the default cygdrive
> +prefix. This can and often *is* changed, however. Fortunately, the
> +Cygwin developers have had your back on this for a very long time. Use
> +the cygpath program to convert all your paths. It safely handles
> +conversions both to and from POSIX for both absolute and relative paths,
> +can convert to short form DOS paths (e.g C:\Progra~1\...), supports
> +paths with arbitrary whitespace, can provide many well known paths such
> +as the user's Desktop directory, can be run by Windows-native programs,
> +and more.
> how do you change the default cygdrive path? I figured it was a set-in-stone
> kindof thing.
Add something like the following line to your /etc/fstab file and
restart all your Cygwin processes:
none / cygdrive binary,posix=0,noacl,user 0 0
This example will set your cygdrive prefix to simply be /, so you can
access the C: drive via /c/whatever. More details are available in the
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin