Created
March 29, 2020 09:31
-
-
Save geongeorge/7e288fb227a04530e43e3b31155939c8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal enabledelayedexpansion | |
set /a count=0 | |
for /f "tokens=*" %%a in ('dir /b /od *.jpg') do ( | |
echo ren "%%a" !count!.jpg | |
set /a count+=1 | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment