Hi
I'm new to ASP and have some difficulties to proceed with my plans. I have this basic structure that I'm trying to get work.
I have for example file called "details.asp" and also folder called "details". File and folder names are everytime the same. Folder has some file that I want .asp-file to list on it. File has some basic scripts on it.
<% sub ListFolderContents(path)
dim fs, folder, file, item, url
set fs = CreateObject("Scripting.FileSystemObject")
set folder = fs.GetFolder(path)
'Display a list of files.
for each item in folder.Files
url = MapURL(item.path)
Response.Write("<p><b><a href=""" & url & """>" & item.Name & "</a></b></p>" _
...
Go to the complete details ...