วิธีASP MoveFolder
❮ อ้างอิงวัตถุ FileSystemObject ที่สมบูรณ์
วิธี MoveFolder จะย้ายอย่างน้อยหนึ่งโฟลเดอร์จากที่หนึ่งไปยังอีกที่หนึ่ง
ไวยากรณ์
FileSystemObject.MoveFolder source,destination
Parameter | Description |
---|---|
source | Required. The path to the folder/folders to be moved. Can contain wildcard characters in the last component. |
destination | Required. Where to move the folder/folders. Cannot contain wildcard characters |
ตัวอย่าง
<%
dim fs
set fs=Server.CreateObject("Scripting.FileSystemObject")
fs.MoveFolder "c:\test\web\","c:\windows\"
set fs=nothing
%>
❮ อ้างอิงวัตถุ FileSystemObject ที่สมบูรณ์