A. Using the MoveFile method on a FileSystem object will result in a file being renamed:
Dim fso<br> Set fso = CreateObject("Scripting.FileSystemObject")<br> fso.MoveFile "file1.txt", "file2.txt"
The Windows IT Pro forums are moving to myITforum.com! Get answers to questions, share tips, and engage with the IT professional community.
Presented by Michael Van Horenbeeck
Tuesday, April 21st
Enroll Now and Save $75!...
Presented by Mel Beckman
Wednesday, April 22nd
Enroll Now and Save $75!
View CatalogView Shopping Cart
Sponsored Introduction Continue on to (or wait seconds) ×