Thought about it a bit now .. still a kludge, but ..
<%@enablesessionstate="false" language="vbscript"%>
<html>
<head>
<title>File Path Links Test</title>
</head>
<body>
<%dim str_filepath
dim lng_currentpointer
dim str_cumulativefilepath
str_filepath= "/mysite/classes/class1/lesson1/lesson1.asp"
str_filepath = split(str_filepath, "/"

if isarray(str_filepath) then
str_cumulativefilepath = str_filepath(lbound(str_filepath))
for lng_currentpointer = lbound(str_filepath) to ubound(str_filepath)
str_cumulativefilepath = str_cumulativefilepath & "/" & _
str_filepath(lng_currentpointer)
if len(str_filepath(lng_currentpointer)) > 0 then
%> <a href="<%=str_cumulativefilepath%>">
<% Response.write str_filepath(lng_currentpointer)
%> </a>
<% end if
if lng_currentpointer < ubound(str_filepath) and _
lng_currentpointer > lbound(str_filepath) then
%> >
<% end if
next
end if
%> </body>
</html>
codestorm
Fire bad. Tree pretty. - Buffy
select * from population where talent > 'average'
<insert witticism here>