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

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


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

登陆 | 还没注册?