Property:  Folders Collection.Item

Implemented in version 2.0
 
object.Item ("foldername")

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

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

<%
Code:
Dim filesys, demofolder, folcoll, selectfolder
Set filesys = CreateObject("Scripting.FileSystemObject")
Set demofolder = filesys.GetFolder("foldername")
Set folcoll = demofolder.SubFolders
selectfolder = folcoll.Item("foldername")
%>


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