最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
asp fso教程:asp move文件移动实例教程
时间:2022-06-30 11:32:54 编辑:袖梨 来源:一聚教程网
move移动方法移至指定的文件或文件夹从一个位置到另一个位置。
语法
FileObject.Move(destination)
FolderObject.Move(destination)
| Parameter | Description |
|---|---|
| destination | Required. Where to move the file or folder. Wildcard characters are not allowed |
对文件操作简单例子.
<%
dim fs,f
set fs=Server.CreateObject("Scripting.FileSystemObject")
Set f=fs.GetFile("c:test.txt")
f.Move("c:testtest.txt")
set f=nothing
set fs=nothing
%>
对文件夹操作例子.
<%
dim fs,fo
set fs=Server.CreateObject("Scripting.FileSystemObject")
set fo=fs.GetFolder("c:test")
fo.Move("c:asptest")
set fo=nothing
set fs=nothing
%>
相关文章
- 女神漫画免费下载最新版本动漫入口页面-女神漫画在线观看安装包动漫入口 02-08
- 哔哩哔哩b站官网直达-bilibili网站主页一键进入 02-08
- 365日历网页版快捷登录-365日历网页版一键登录入口 02-08
- 免费看短视频的精品app-追剧无广告的必备app推荐 02-08
- 微信对话生成器-无水印版免费下载 02-08
- 豆包网页版应用生成器-豆包AI应用一键生成 02-08