Saturday, December 29, 2012

Bulk Rename of files in Windows

You can rename files in windows with following command. Below command changes MOD extension of file to MPEG extension. It changes all the extensions even in subdirectories.

for /f "delims=*" %a in ('dir *.MOD /b /s') do ren "%a" *.MPEG