Date and Time in DOS

for /f “tokens=1,2,3,4,5,6 usebackq delims=.: ” %a in (‘%date% %time%’) do echo %c%b%a_%d%e%f