ASP MoveFile Method
Complete FileSystemObject object reference manual
The MoveFile method moves one or more files from one location to another.
Syntax
FileSystemObject.MoveFile source,destination
| Parameters | Description |
|---|---|
| source | Required. The path to the file(s) to move. Wildcards can be included in the last component. |
| destination | Required. The destination for the moved file(s). Wildcards cannot be included. |
Example
<%
dim fs
set fs=Server.CreateObject("Scripting.FileSystemObject")
fs.MoveFile "c:\web*.gif","c:\images"
set fs=nothing
%>
Complete FileSystemObject object reference manual