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

ASP Move 方法

定義和用法

Move 方法把指定的文件或文件夾從一個位置移動到另一個位置。

語法:

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

實例

針對 File 對象的例子

<%
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
%>

針對 Folder 對象的例子

<%
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
%>