ASP MoveFolderMethod


FileSystemObject 对象参考手册Complete FileSystemObject Object Reference Manual

The MoveFolder method moves one or more folders from one location to another.

Syntax

FileSystemObject.MoveFolder source,destination

Parameters Description
source Required. The path pointing to the folder(s) to be moved. Wildcards may be included in the last component.
destination Required. The destination where the folder(s) will be moved. Cannot contain wildcards.

Examples

<%
dim fs
set fs=Server.CreateObject("Scripting.FileSystemObject")
fs.MoveFolder "c:\test\web\","c:\windows\"
set fs=nothing
%>


FileSystemObject 对象参考手册Complete FileSystemObject Object Reference Manual Other Extensions