set hour=%time:~0,2%
if /i %hour% LSS 10 (
set hour=0%time:~1,1%
)
set filename=%date:~0,4%%date:~5,2%%date:~8,2%_%hour%.%time:~3,2%.%time:~6,2%
md %filename%
set hour=%time:~0,2%
if /i %hour% LSS 10 (
set hour=0%time:~1,1%
)
set filename=%date:~0,4%%date:~5,2%%date:~8,2%_%hour%.%time:~3,2%.%time:~6,2%
md %filename%