最新下载
热门教程
- 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
%>
相关文章
- 名词党是什么 - 名词党概念与定义解析 06-14
- 电子商务主要模式详解 - 2026最新分类与应用 06-14
- 心灵成长指南 - 心理健康与情绪管理实用方法 06-14
- 双12购物节起源与演变历程 - 2026年最新解读 06-14
- 3D虚拟社区营销新趋势 - 2026沉浸式数字营销方案 06-13
- 国家电网认可的电力专科学校 - 2026年权威院校推荐 06-13