Wed Mar 30, 2011 11:48 pm
<%
Set objmyFileStream=Server.CreateObject("Scripting.FileSystemObject")
Set objmyFolderStream=objmyFileStream.GetFolder(Server.MapPath("/testfolder"))
For each objmyfile in objmyFolderStream.files
%>
<b>File Found With Name :</b><% =objmyfile .Name %><br>
<%
Next
%>
<%
Set objfileStream= Server.CreateObject ("Scripting.FileSystemObject")
objfolderStream = Server.MapPath("/myfolder")
Set objfolder= objfileStream.GetFolder(folderStream )
%>
<p><b><% =objfolderStream %> is (<% =objfolder.Size %> bytes)</b></p>
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.