How to rename a file on the server.
<% Set Fso = Server.CreateObject("Scripting.FileSystemObject") Fso.moveFile "c:\test.asp", "c:\old_test.asp" Set Fso = Nothing %>
Download code...
Print this page