Need to add a space between filename and date
Posted: 11 Apr 2012 08:42
I was needing to add a space between a file name and date. Right now with my dos batch script I get this:
test104-11-2012
I would like to add a space between test1 and 04 so it comes out like this:
test1 04-11-2012
Here is my script that I'm using:
ren c:\test\test.txt test1%date:~4,2%-%date:~7,2%-%date:~10%.txt
Please advise and thanks.
test104-11-2012
I would like to add a space between test1 and 04 so it comes out like this:
test1 04-11-2012
Here is my script that I'm using:
ren c:\test\test.txt test1%date:~4,2%-%date:~7,2%-%date:~10%.txt
Please advise and thanks.