欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

ASP Move 方法

定義和用法

Move 方法把指定的文件或文件夾從一個(gè)位置移動(dòng)到另一個(gè)位置。

語法:

FileObject.Move(destination)
FolderObject.Move(destination)
參數(shù) 描述
destination 必需的。移動(dòng)文件/文件夾的目的地。不允許使用通配符。

實(shí)例

針對(duì) File 對(duì)象的例子

<%
dim fs,f
set fs=Server.CreateObject("Scripting.FileSystemObject")
Set f=fs.GetFile("d:\test.txt")
f.Move("d:\test\test.txt")
set f=nothing
set fs=nothing
%>

針對(duì) Folder 對(duì)象的例子

<%
dim fs,fo
set fs=Server.CreateObject("Scripting.FileSystemObject")
set fo=fs.GetFolder("d:\test")
fo.Move("d:\asp\test")
set fo=nothing
set fs=nothing
%>