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

ASP
ASP 介绍
ASP Install
ASP 语法
ASP 变量
ASP Procedures
ASP Forms
ASP Cookies
ASP Session
ASP Application
ASP #include
ASP Global.asa
ASP Send e-mail
ASP Response
ASP Request
ASP Application
ASP Session
ASP Server
ASP Error
ASP FileSystem
ASP TextStream

ASP MoveFile 方法


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 380 ::
收藏到网摘: 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

登陆 | 还没注册?