Latest web development tutorials

วิธี MoveFolder ASP

อ้างอิงวัตถุ FileSystemObject อ้างอิงวัตถุ FileSystemObject สมบูรณ์

วิธี 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
%>


อ้างอิงวัตถุ FileSystemObject อ้างอิงวัตถุ FileSystemObject สมบูรณ์