SyntaxFix
Write A Post
Hire A Developer
Questions
Try this (an equivalent of bash backquotes):
for /f "tokens=1* delims=" %%a in ('date /T') do set datestr=%%a mkdir %datestr%
For further information, see http://ss64.com/nt/for_cmd.html