Set dir with date and time.cmd

Post date: Feb 3, 2011 11:14:06 PM

@echo off

rem Make Directory With Name Date and Time

for /f "tokens=1-3 delims=/- " %%a in ('date /t') do set XDate=%%c-%%b-%%a

for /f "tokens=1-2 delims=: " %%a in ('time /t') do set XTime=%%a.%%b

echo %XDate% %XTime%

md "%Xdate% %XTime%"