VB Code:
  1. Dim OldFilePathName as String
  2.  
  3. Dim NewFilePathName as String
  4.  
  5. OldFilePathName = "C:\OLDNAME.TXT"
  6.  
  7. NewFilePathName = "C:\NEWNAME.TXT"
  8.  
  9. Name OldFilePathName As NewFilePathName