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

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 MoveFolder 方法


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

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

Syntax
语法

FileSystemObject.MoveFolder source,destination

Parameter参数 Description描述
source Required. The path to the folder/folders to be moved. Can contain wildcard characters in the last component.
必要参数。需要被移动的文件夹的源地址。在最后一级组件中不可以含有通配符。
destination Required. Where to move the folder/folders. Cannot contain wildcard characters
必要参数。文件夹移动到的目的地路径。不可以含有通配符。

Example
举例

<%
dim fs
set fs=Server.CreateObject("Scripting.FileSystemObject")
fs.MoveFolder "c:testweb","c:windows"
set fs=nothing
%>

评论 (0) All

登陆 | 还没注册?