METHOD:  Folders Collection.Add

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

This method is used to add a new Folder to a Folders collection. Note that, if the ("foldername") already exists, you will get an error.

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


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