亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

asp中FSO復(fù)制文件代碼

 更新時間:2007年01月03日 00:00:00   作者:  
復(fù)制代碼 代碼如下:

TempSource,TempEnd必須用絕對路徑
rootPath=Request.ServerVariables("APPL_PHYSICAL_PATH")  ‘獲取當前程序絕對路徑
Function CopyFiles(TempSource,TempEnd)
    Dim FSO
    Set FSO = Server.CreateObject("Scripting.FileSystemObject")
IF FSO.FileExists(TempEnd) then
       Response.Write "目標備份文件 <b>" & TempEnd & "</b> 已存在,請先刪除!"
       Set FSO=Nothing
       Exit Function
    End IF
    IF FSO.FileExists(TempSource) Then
    Else
       Response.Write "要復(fù)制的源數(shù)據(jù)庫文件 <b>"&TempSource&"</b> 不存在!"
       Set FSO=Nothing
       Exit Function
    End If
    FSO.CopyFile TempSource,TempEnd
    Response.Write "已經(jīng)成功復(fù)制文件 <b>"&TempSource&"</b> 到 <b>"&TempEnd&"</b>"
    Set FSO = Nothing
End Function

相關(guān)文章

最新評論