set MIN=999
set MAX=9999
for /f %%a in (*.jpg) do (
@SET /a n=%MIN%+(%MAX%-%MIN%+1)*%random%
ren "%%~dpa*.jpg" "%%%n%a.jpg"
)
pause
cmd /V:ON /C process.cmd
for %%a in (*.jpg) do (
SET /a n=1000+!RANDOM!*8999/32768
ren "%%a" "!n!%%a"
)
pause