Skip to content

Instantly share code, notes, and snippets.

@ramons03
Created January 11, 2017 14:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ramons03/fdc55d01aec220eb5d699933cb4e85e3 to your computer and use it in GitHub Desktop.
Save ramons03/fdc55d01aec220eb5d699933cb4e85e3 to your computer and use it in GitHub Desktop.
Mass rename files windows command prompt
REM dir / -B > fileList.txt
REM for /f "tokens=1,2,3" %i in (fileList.txt) DO ren "%i %j %k" %k
for /f "tokens=1,2,3" %i in ('dir / -B') DO ren "%i %j %k" %k
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment