Friends,
I am generating a file through some script and need to add the date in front of it. I used cmd command and created a batch file but the format is coming as test.txt_12272013 but it should be Test.txt_20131227 (YYYYMMDD)
ren c:\testt\testing.txt test_%date:~4,2%%date:~7,2%%date:~10,4%.txt
Could you guys please help