复制粘贴到记事本,另存为xx.bat,编码选ANSI
@echo off
rem 在指定目录里以当前日期为名创建一个文件夹及其多个子文件夹
set #=Any question&set @=WX&set $=Q&set/az=0x53b7e0b4
title %#% +%$%%$%/%@% %z%
cd /d "%~dp0"
set "folder=D:\xxx\yyy"
for /f "tokens=2 delims==" %%a in ('wmic OS get LocalDateTime /value^|find "="') do set d=%%a
set today=%d:~,4%-%d:~4,2%-%d:~6,2%
for %%a in (
"A"
"B"
"C"
"D"
"E"
) do (
echo;"%folder%\%today%\%%~a\"
md "%folder%\%today%\%%~a\"
)
:end
echo;%#% +%$%%$%/%@% %z%
pause
exit