Rename File

This will rename a specific file and or move the file to a different directory

Public
Tested
My Own Work
<% Dim objFSO
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")

objFSO.MoveFile Server.MapPath("/someDir/Foo.asp"), _
Server.MapPath("/someDir/Bar.asp")

Set objFSO = Nothing %>

Views 3072 Downloads 1006

Classic ASP File System
JeffSmith
26
Revisions

v1.0