The full batch script:( renames using current date )
(完整的批处理脚本:( 使用当前日期重命名 ))
@echo off
for /f "tokens=2,3,4 delims=/ " %%a in ('%date%') do (set date=%%a & set month=%%b & set year=%%c)
ren abc_10072019.txt abc_%year%%month%%date%.txt
goto :eof
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…