How do you rename files? I.e. rename C:\blah.txt to C:\blah.txt2
___________________________ Chris
Code: Name "C:\TheFile.txt" As "C:\TheFile2.txt"
Name "C:\TheFile.txt" As "C:\TheFile2.txt"
Aaron Young Red Wing Software, Inc.
Use the Name statement. Code: Name "C:\blah.txt" As "C:\blah.txt2"
Name "C:\blah.txt" As "C:\blah.txt2"
CBV.. do this dim Newname as variant dim OldName as variant NewName = "C:\Blahblah" OldName = "A:\BlohBloh" 'Copy this file from A: to C: under a different name Name OldName as NewName Quick answer was what u wanted That should work Let us know otherwise
Forum Rules