Phương thức MoveFolder của ASP
❮ Hoàn thành tham chiếu đối tượng FileSystemObject
Phương thức MoveFolder di chuyển một hoặc nhiều thư mục từ vị trí này sang vị trí khác.
Cú pháp
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 |
Ví dụ
<%
dim fs
set fs=Server.CreateObject("Scripting.FileSystemObject")
fs.MoveFolder "c:\test\web\","c:\windows\"
set fs=nothing
%>
❮ Hoàn thành tham chiếu đối tượng FileSystemObject