Solved How can I rename batch file with filename+date and time??

July 10, 2012 at 04:14:34
Specs: Windows 8
Hi everyone,

I want to append date and time to batch file name..

For eg: sample.bat---> sample12072012123545.bat
12072012123545==>12/07/2012 12:35:45

Can anyone help me on this??

Thanks,
Ram


See More: How can I rename batch file with filename+date and time??

Report •


#1
July 10, 2012 at 04:25:26
✔ Best Answer
We need the output of:

echo %DATE% %TIME%


=====================================
Life is too important to be taken seriously.

M2


Report •
Related Solutions


Ask Question