I have the same question as NevG's--just want to display the content of a specific directory , but it still now work after following the steps provided by IonelBurtan. The browser just hang there without any response. Here is my code, and could you tell my is there anything I miss ? Or do I have to do some settings on my iis server?
Thanks a lot!
Test.asp
<html>
<body>
<%
Dim fso, f, f1, fc, s
Set fso = Server.CreateObject("Scripting.FileSystemObject"
Set f = fso.GetFolder("C:\tmp"
Set fc = f.Files
For Each f1 in fc
s = s & f1.name
s = s & "<BR>"
Next
Response.Write s
%>
</body>
</html>
Thanks a lot!
Test.asp
<html>
<body>
<%
Dim fso, f, f1, fc, s
Set fso = Server.CreateObject("Scripting.FileSystemObject"
Set f = fso.GetFolder("C:\tmp"
Set fc = f.Files
For Each f1 in fc
s = s & f1.name
s = s & "<BR>"
Next
Response.Write s
%>
</body>
</html>