ASP MoveFolder 方法
定義和用法
MoveFolder 方法從一個(gè)位置向另一個(gè)位置移動(dòng)一個(gè)或多個(gè)文件夾。
語法:
FileSystemObject.MoveFolder source,destination
| 參數(shù) | 描述 |
|---|---|
| source | 必需的。指向需被移動(dòng)的文件夾的路徑。可在最后的成分中包含通配符。 |
| destination | 必需的。移動(dòng)文件夾的目的地。不能包含通配符。 |
實(shí)例
<%
dim fs
set fs=Server.CreateObject("Scripting.FileSystemObject")
fs.MoveFolder "c:\test\web\","c:\windows\"
set fs=nothing
%>