|
Posted by Brian Cryer on 09/22/06 10:28
"Jonathan N. Little" <lws4art@centralva.net> wrote in message
news:a36c5$4512f5b1$40cba7ac$31675@NAXS.COM...
> richard wrote:
>>
>> "Dave" <david.mh.tong@gmail.com> wrote in message
>> news:1158847097.138424.192140@m73g2000cwd.googlegroups.com...
>>> Hi,
>>>
>>> Can anyone tell me the difference between the following where
>>> "Test.asp" is found in the same folder as the target page calling the
>>> hyperlink "Last Image"?
>>>
>>> 1. <a href="./Test.csp">Last Image</a>
>>> 2. <a href="Test.asp">Last Image</a>
>>>
>>> Thanks in advance,
>>> Dave
>>>
>>
>> Either can be used, but 2 distinctively tells the coding to look in this
>> folder.
>> As I've always understood it, the / means another folder or directory.
>> The dot says, "backup one level then use this directory or folder".
>> A leftover shortcut from DOS.
>>
> Close but not quite:
>
> one dot './' means this folder in DOS
> 2 dots '../' means backup one level in DOS
or UNIX.
--
Brian Cryer
www.cryer.co.uk/brian
Navigation:
[Reply to this message]
|