Advertisement
Guest User

Untitled

a guest
Dec 18th, 2018
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. SET count=1
  3. FOR /f "tokens=*" %%i IN ('dir /b /a-d *.jpg') DO (call :subroutine "%%i")
  4. GOTO :eof
  5.  
  6. :subroutine
  7. echo %count%:%1
  8. ren "%1" "obrazek_%count%.jpg"
  9. set /a count+=1
  10. GOTO :eof
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement