Please note, this is a STATIC archive of website www.w3schools.com from 05 May 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.
THE WORLD'S LARGEST WEB DEVELOPER SITE

ASP MoveFolder Method


❮ Complete FileSystemObject Object Reference

The MoveFolder method moves one or more folders from one location to another.

Syntax

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

Example

<%
dim fs
set fs=Server.CreateObject("Scripting.FileSystemObject")
fs.MoveFolder "c:\test\web\","c:\windows\"
set fs=nothing
%>

❮ Complete FileSystemObject Object Reference