I need to date/timestamp a file as I move it to an archive directory. The current syntax I'm using is:
copy imports\data\mftp*.* imports\data\archive
for %i in (*) do rename *.* %date%%i.*
I get invalid syntax on the last command. I thought I had this working previously. Please help. Thanks.