ASP MoveFolder 方法

定義和用法

MoveFolder 方法從一個位置向另一個位置移動一個或多個文件夹。

語法:

FileSystemObject.MoveFolder source,destination
參數 描述
source 必須的。指向需被移動的文件夹的路徑。可在最後的成分中包含通配符。
destination 必須的。移動文件夹的目的地。不能包含通配符。

实例

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