ASP MoveFileMethod
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 or files to be moved. Wildcards may be included in the last component. |
| destination | Required. The destination where the file(s) are to be moved. Wildcards cannot be included. |
Examples
<%
dim fs
set fs=Server.CreateObject("Scripting.FileSystemObject")
fs.MoveFile "c:\web\*.gif","c:\images\"
set fs=nothing
%>
dim fs
set fs=Server.CreateObject("Scripting.FileSystemObject")
fs.MoveFile "c:\web\*.gif","c:\images\"
set fs=nothing
%>
Complete FileSystemObject Object Reference Manual Other Extensions