Answer the question
In order to leave comments, you need to log in
What's wrong with the batch file?
All pictures in the folder must be added to the beginning of a random number. What's wrong?
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
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question