You can use DOS commands , possibly in a batch file (.bat) if you want, to copy files from one location to another, adding a DATE or TIME stamp to the file name.
Open up a DOS\Command prompt window.
We can see the results of using the ECHO cammand to display the current date and time, as follows.
We can then use this in our Dos COPY command as follows. [ copy *.txt *_%date:/=%_.txt ]
Don’t forget you can use wildcards for the filenames as normal.
Copy with Date and Timestamp [ copy *.txt *_%date:/=%_%TIME::=%.txt /Y ]
Hope you find this useful.