1.
<%
2.
FolderObject.Move(Source,Destination)
3.
%>
01.
Option
Explicit %>
02.
<html>
03.
<head>
04.
<title>ThaiCreate.Com ASP Folder
Object
</title>
05.
</head>
06.
<body>
07.
08.
Dim
objFSO,objFolder
09.
Set
objFSO = Server.CreateObject(
"Scripting.FileSystemObject"
)
10.
objFSO.MoveFolder Server.MapPath(
"MyFiles"
),Server.MapPath(
"MyNewFiles/MyFiles"
11.
Response.write(
"Folder Move"
12.
objFSO =
Nothing
13.
14.
</body>
15.
</html>
ช่วยกันสนับสนุนรักษาเว็บไซต์ความรู้แห่งนี้ไว้ด้วยการสนับสนุน Source Code 2.0 ของทีมงานไทยครีเอท