Property:  Files Collection.Item

Implemented in version 3.0
 
object.Item ("filename")

This property returns an Item from the collection relating to a specified key (file name).

The following code shows how to retrieve an item from a Files collection.

<%
Code:
Dim filesys, demofolder, filecoll, selectfile
Set filesys = CreateObject("Scripting.FileSystemObject")
Set demofolder = filesys.GetFolder("foldername")
Set filecoll = demofolder.Files
selectfile = filecoll.Item("filename")
%>


Copyright 1999-2004 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information