- @echo off
- set info=互助互利,支付宝扫码头像,感谢打赏
- rem 有问题,可加QQ956535081及时沟通
- title %info%
- cd /d "%~dp0"
- set "logfile=D:\name.txt"
- >>"%logfile%" echo;----------------%date%----------------
- for /f "delims=" %%a in ('dir /a-d /b /s "F:\*.file1"') do (
- >>"%logfile%" echo;"%%a" --^> "%%~na.file2"
- ren "%%a" "%%~na.file2"
- )
- echo;%info%
- pause
复制代码
|