How to Rename the files
Posted on January 5, 2009
1 2 3 4 5 6 7 8 9 | 'File/Folder Handling - How to Rename the files Sub FileOperations() ' All file operations should be protected against errors. ' None of these functions works on open files. On Error Resume Next ' Rename a file--note that you must specify the path in the target, ' otherwise the file will be moved to the current directory. Name "c:\vb6\TempData.tmp" As "c:\vb6\TempData.$$$" End Sub |