Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
All Methods
Folder Object
METHOD: Folder.Copy
Implemented in version 2.0
object.
Copy
destination[, overwrite]
This method makes a copy of the selected folder and saves it to the specified destination. The
overwrite
parameter is a Boolean value -
True
allows existing folders with the same name as
destination
to be overwritten while
False
(the default) does not.
Note that after copying a folder to a new location the
Folder
object still relates to the
original
folder.
Code:
<%
dim filesys, demofolder
set filesys = CreateObject ("Scripting.FileSystemObject")
set demofolder = filesys.GetFolder("c:\projects\")
demofolder.Copy("c:\work\")
%>
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information