xsl-list
[Top] [All Lists]

Re: Windows URLs

2004-11-04 08:27:51
c:foo\bar is not recognized as anything

This refers to the same thing as foo\bar if you're in drive c:

Citando "M. David Peterson" <m(_dot_)david(_at_)mdptws(_dot_)com>:

Colin Paul Adams wrote:


Seriously though, does anyone know what the rules are for file: URLs
on Windows systems (i.e. how do you encode drive names and UNC paths
(is that the right term for drives on other servers?) into a file URL)?


c:\foo\bar will place you in the bar directory of foo starting at the
root of c:
c:foo\bar is not recognized as anything
foo\bar will start in the current directory and access the bar
subdirectory of the foo folder
\foo\bar will start at the root of the current drive and look for the
bar subdirectory of of foo

and as you would expect it to by using the file: protocol as such

file:///C:/Documents%20and%20Settings/M.%20David/Desktop/foo.html

will access the foo.html file at that location

HTH!

<M:D/>


--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--









O SAPO já está livre de vírus com a Panda Software, fique você também!
Clique em: http://antivirus.sapo.pt


<Prev in Thread] Current Thread [Next in Thread>