URL paths in setup.exe

Earnie Boyd earnie_boyd@yahoo.com
Tue May 7 04:57:00 GMT 2002


Robert Collins wrote:

> >
> > How would this confuse them ? I don't think with
> > file://d|/foo/bar.txt is better thatn file://d/foo/bar.txt. There is a
> method which converts d:\foo\bar to file URL - isn't it > enough ? There
> is also a method whic gets the parsed URL as path.
> >
> > Btw see the attached program. It is a test for the URL parser.
>
> file://d/foo/bar.txt isn't clear whether it's absolute or not.
> file:///d/foo/bar.txt is on posix, and
> file://d|/foo/bar.txt is on win32.
>

file:///d/foo/bar.txt on Cygwin should work as well depending on the
cygdrive value. ;)
file:///d:/foo/bar.txt should be the win32 mechanism.

file://d/foo/bar.txt is definitely relative to the current working
directory.

Earnie.



More information about the Cygwin-apps mailing list