bat文件获取当前时间并格式化输出
set d=%date:~0,10% set t=%time:~0,10% set t=%t::=% set t=%t:.=% set c=%d%%t% echo %c% pause