set date=%Date:~0,4%%Date:~5,2%%Date:~8,2%%Time:~0,2%%Time:~3,2%%Time:~6,2% %Date:~0,4%表示年,以此类推 显示的格式为:20120515105610