当前位置: 首页 > 网络学院 > 服务端脚本教程 > ASP > ASP MoveFile 方法

ASP
ASP Drive
ASP File
ASP Folder
ASP Dictionary
ASP ADO
ASP AdRotator
ASP BrowserCap
ASP Content Linking
ASP Content Rotator
ASP Quick Ref
ASP 摘要
ASP 实例

ASP MoveFile 方法


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 381 ::
收藏到网摘: n/a

The MoveFile method moves one or more files from one location to another.
ASP MoveFile的作用将一个或多个文件从本地移动到异地。

Syntax
语法

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
必要参数。文件移动到的目的地路径。不可以含有通配符

Example
举例

<%
dim fs
set fs=Server.CreateObject("Scripting.FileSystemObject")
fs.MoveFile "c:web*.gif","c:images"
set fs=nothing
%>

评论 (0) All

登陆 | 还没注册?