最新下载
热门教程
- 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 %>
相关文章
- 无主之地4全载具获取方法 载具怎么解锁全攻略 09-16
- 魔兽世界沙塔斯城怎么去-沙塔斯城前往方法 09-16
- 超级机器人大战Y轮回的世界怎么过 多周目终极挑战攻略 09-16
- 无主之地4嚎叫森林农场宝箱怎么开启 嚎叫森林农场宝箱开启方法 09-16
- 无主之地4支线月是故乡明怎么做 支线月是故乡明图文攻略 09-16
- 超级机器人大战Y超越妖魔之力怎么过 终极妖魔战攻略 09-16