windows bat脚本-在日期格式为yyyy/mm/dd的情况下照样显示yyyy-mm-dd

set mydate=%date:~0,4%-%date:~5,2%-%date:~8,2%

echo %mydate%

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*


为了防止恶意的垃圾评论脚本,请输入以下图片里面的数学方程式的答案。
防垃圾评论问题