Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- SET count=1
- FOR /f "tokens=*" %%i IN ('dir /b /a-d *.jpg') DO (call :subroutine "%%i")
- GOTO :eof
- :subroutine
- echo %count%:%1
- ren "%1" "obrazek_%count%.jpg"
- set /a count+=1
- GOTO :eof
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement