Rename a file to old filename...
Posted on 2006-11-12
Operating system: WinXP, Win2K, Win2003
Scenario: I have this file that everytime i upload to the server i change the name to todays date.
Ex. OldFilename = D20061013.zip
NewFilename = D20061113.zip <--- todays date.
Filename format: DYYYYMMDD.zip
wherein: D = Download
YYYY = Year
MM = Month
DD = Date
Question: After i rename it to todays date after i upload it to my server. How will i rename it back to it's old filename in the exact format using a bacthfile?
Anyone who will help. Many thanks and more power.