cmd命令中截取日期字符

%date:~0,10% 表示年份
   
原文地址:https://www.cnblogs.com/zhenmingliu/p/3574348.html