发布网友 发布时间:2022-04-21 17:47
共2个回答
热心网友 时间:2023-10-04 18:49
@echo off
setlocal enabledelayedexpansion
set n=0
for /f "delims=" %%a in ('dir/b/o:d *.CHK') do (
set /a n+=1
ren "%%a" "!n!.jpeg"
)
热心网友 时间:2023-10-04 18:50
@echo off&setlocal enabledelayedexpansion
set n=1
for /f "delims=" %%a in ('dir /a-d /b *.chk') do (
ren "%%a" !n!.jpg
set /a n=!n!+1
)