Guest User

Recursively rename extensions

a guest
Oct 1st, 2018
243
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. FOR /R %%z IN (*.JPG) DO RENAME "%%z" *.jpg
  2. FOR /R %%z IN (*.JPEG) DO RENAME "%%z" *.jpg
  3. FOR /R %%z IN (*.jpeg) DO RENAME "%%z" *.jpg
  4. FOR /R %%z IN (*.MP4) DO RENAME "%%z" *.mp4
  5. FOR /R %%z IN (*.AVI) DO RENAME "%%z" *.avi
  6. DEL *.bat
RAW Paste Data