当前位置: 首页 > 网络学院 > 服务端脚本教程 > ASP > ASP MoveFile 方法
The MoveFile method moves one or more files from one location to another.
ASP MoveFile的作用将一个或多个文件从本地移动到异地。
| FileSystemObject.MoveFile source,destination |
| Parameter参数 | Description描述 |
|---|---|
| source | Required. The path to the file/files to be moved. Can contain wildcard characters in the last component. 必要参数。需要被移动的文件的源地址。在最后一级组件中不可以含有通配符 |
| destination | Required. Where to move the file/files. Cannot contain wildcard characters 必要参数。文件移动到的目的地路径。不可以含有通配符 |
<%
dim fs
set fs=Server.CreateObject("Scripting.FileSystemObject")
fs.MoveFile "c:web*.gif","c:images"
set fs=nothing
%> |
评论 (0) All