Morpheusweb.it - Risorse per webmaster: script, ASP.NET, C#, Visual Basic .Net, tutorial, asp, javascript, css, php, html, java, ADO, VBScript, forms, frames, Active Server Pages, Dynamic HTML, database, gratis per webmaster e webdesigner

Move a file

To move a file from a directory to another.


We can use FileSystemObject to move a file from a directory to another.


<%
Dim FileObject
Set FileObject=CreateObject("Scripting.FileSystemObject")
FileObject.MoveFile "c:\dir1\filename", "c:\dir2\filename"
Set FileObject=Nothing
%>


Download code...


Print this page


 

Inizio pagina

risorse per webmaster