Search found 2 matches
- 11 Apr 2012 12:17
- Forum: DOS Batch Forum
- Topic: Need to add a space between filename and date
- Replies: 3
- Views: 4546
Re: Need to add a space between filename and date
Hey everyone. That worked. Thanks and thanks for the tips. Much appreciated.
- 11 Apr 2012 08:42
- Forum: DOS Batch Forum
- Topic: Need to add a space between filename and date
- Replies: 3
- Views: 4546
Need to add a space between filename and date
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%-%...