bat 获取系统时间,并去掉时间小时前面的空格
set h=%time:~0,2%set h=%h: =0%set bak_filename=%date:~0,4%%date:~5,2%%date:~8,2%%h%%time:~3,2%%time:~6,2%返回如下:20121212093639
补充:综合编程 , 其他综合 ,
set h=%time:~0,2%set h=%h: =0%set bak_filename=%date:~0,4%%date:~5,2%%date:~8,2%%h%%time:~3,2%%time:~6,2%返回如下:20121212093639
补充:综合编程 , 其他综合 ,