Thanx a lot this does exactly what I want
I made some adjustments to make it to my liking
Code:
<%
Dim fso, sRoot
Set fso = Server.CreateObject("Scripting.FileSystemObject")
sRoot = "C:\Temp"'Server.MapPath("/")
buildTree(sRoot)
Function buildTree(path)
Dim dl, d, fl, f
Set dl = fso.GetFolder(path).SubFolders
For Each d In dl
'Response.Write d.Name & "<br />"
Set fl = fso.GetFolder(d.path).Files
For Each f In fl
Response.Write "\" & d.Name & "\"&f.Name & "<br />"
Next
Set fl = Nothing
buildTree(d.Path)
Next
Set dl = Nothing
Response.Write "</ul>"
End Function
Set fso = Nothing
%>
__________________________________________________ ________
This is my junk I'm gona eat it