批处理 %date:0,4%%date:5,2%%date:8,2%_%time:0,2%%time:3,2% 输出是 20120823_ 926 小时想变09怎办

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/16 01:50:01
批处理%date:0,4%%date:5,2%%date:8,2%_%time:0,2%%time:3,2%输出是20120823_926小时想变09怎办批处理%date:0,4%%date:5,2%

批处理 %date:0,4%%date:5,2%%date:8,2%_%time:0,2%%time:3,2% 输出是 20120823_ 926 小时想变09怎办
批处理 %date:0,4%%date:5,2%%date:8,2%_%time:0,2%%time:3,2% 输出是 20120823_ 926 小时想变09怎办

批处理 %date:0,4%%date:5,2%%date:8,2%_%time:0,2%%time:3,2% 输出是 20120823_ 926 小时想变09怎办
set t=%date:~0,4%%date:~5,2%%date:~8,2%_%time:~0,2%%time:~3,2%
echo %t: =%