Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
March 17, 2000
A. Using the MoveFile method on a FileSystem object will result in afile being renamed:
Dim fso
Set fso = CreateObject("Scripting.FileSystemObject")
fso.MoveFile "file1.txt", "file2.txt"
You May Also Like