Am trying to figure out if it is possible to batch script the renaming of a bunch of files based on their creation date / time
eg
c:\temp\
file.tmp
file(1).tmp
file(2).tmp
file(3).tmp
file(4).tmp
rename them to
file_01_01_2013.tmp
file_02_01_2013.tmp
file_03_01_2013.tmp
file_04_01_2013.tmp
file_05_01_2013.tmp
and if needs be stick the time stamp in there too
The issue we have is the current rename batch script runs once a week on a Friday to copy the files to a remote system / share but it can not handle it if the file name used is already the remote location; because the rename function in the script just seems to be renaming all the sources files with that days date [the date the batch script ran] - so in effect it isn't doing what it should be
any ideas ?