what is wrong with this script:
<%
directoryname="C:\home\sites\site4\priv\"
Set fso = CreateObject("Scripting.FileSystemObject"
set mainfolder=fso.GetFolder(directoryname)
Set filecollection = mainfolder.Files
For Each file In filecollection
Response.Write file.Name & "<br>"
Next
%>
everytime I run this, it crashes my IIS. My IIS is on port 8080. Does this matter? Please help me!
biggie
The Man of Tomorrow is forged by his battles today.
<%
directoryname="C:\home\sites\site4\priv\"
Set fso = CreateObject("Scripting.FileSystemObject"
set mainfolder=fso.GetFolder(directoryname)
Set filecollection = mainfolder.Files
For Each file In filecollection
Response.Write file.Name & "<br>"
Next
%>
everytime I run this, it crashes my IIS. My IIS is on port 8080. Does this matter? Please help me!
biggie
The Man of Tomorrow is forged by his battles today.