%date:0,4%%date:5,2%%date:8,2%_%time:0,2%%time:3,2%%time:6,2%
if %date:~2,1%==/ (echo en) else (echo ch)
cmd中多条命令使用 & 或 && 分隔 set t=%time% & echo %t%