cmd获取当前时间,将日志输出重定向到当前日期的日志文件中
echo 111 > "run%date:~0,4%%date:~5,2%%date:~8,2% %time:~0,2%%time:~3,2%%time:~6,2%.log"
详细参考
https://blog.csdn.net/sinat_29173167/article/details/53388571
echo 111 > "run%date:~0,4%%date:~5,2%%date:~8,2% %time:~0,2%%time:~3,2%%time:~6,2%.log"
详细参考
https://blog.csdn.net/sinat_29173167/article/details/53388571