"Jakob Andersen" <jakob@effectus.dk> wrote in message
news:a0cg9v$ibt$1@news.cybercity.dk...
> Prøv at kigge lidt på nedenstående funktion.
Fyha, jakob du glemte vist at rydde op
Funktionen skal se sådan her ud:
<%
Dim count
count = 0
Function VisMapper( strStartmappe, count )
Dim objFS, Startmappe, Undermapper, Filer, Mappe, Fil, i
Set objFS = Server.CreateObject( "Scripting.FileSystemObject" )
Set Startmappe = objFS.GetFolder( strStartmappe )
Set Undermapper = Startmappe.SubFolders
Set Filer = Startmappe.Files
For Each Mappe in undermapper
For i = 0 to count
Response.write( "   " )
Next
Response.write( "-" & Mappe.name & "<br>")
VisMapper Mappe.path, count + 1
Next
For Each Fil in Filer
For i = 0 to count
Response.write( "   " )
Next
Response.write( "-" & Fil.name & "<br>" )
Next
Set objFS = Nothing
Set Startmappe = Nothing
Set Undermapper = Nothing
Set Filer = Nothing
End Function
%>