Metodo ASP MoveFile


❮ Riferimento completo dell'oggetto FileSystemObject

Il metodo MoveFile sposta uno o più file da una posizione a un'altra.

Sintassi

FileSystemObject.MoveFile source,destination

Parameter Description
source Required. The path to the file/files to be moved. Can contain wildcard characters in the last component.
destination Required. Where to move the file/files. Cannot contain wildcard characters

Esempio

<%
dim fs
set fs=Server.CreateObject("Scripting.FileSystemObject")
fs.MoveFile "c:\web\*.gif","c:\images\"
set fs=nothing
%>

❮ Riferimento completo dell'oggetto FileSystemObject