Kicker
01-18-2012, 05:27 PM
I have the need to create a quick batch file (DOS) that copies a file to a new directory. However, I need to "Add the date" to the filename when it is copied.
For example:
filename = TestFile.pdf
new filename = 1-19-12TestFile.pdf
The date needs to be the current system date. I know that %date% will give me the system date.
How do you combine the date and the filename.
Appreciate the help.
For example:
filename = TestFile.pdf
new filename = 1-19-12TestFile.pdf
The date needs to be the current system date. I know that %date% will give me the system date.
How do you combine the date and the filename.
Appreciate the help.