Possible Duplicate:
Which command can I use to recursively rename or move a file in Windows?

Is there a way, through the command line, to recursively rename all .m4v files to .avi?

ren *.m4v *.avi only works for the folder(s) selected, and ignores the folders under them, and as best I can tell there is no recursive parameter with that function.

link|improve this question
Same question as this: superuser.com/questions/205083/… – RecNes Jan 7 at 10:43
feedback

closed as exact duplicate by RedGrittyBrick, JdeBP, slhck, Nifle, Mokubai Jan 7 at 20:36

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

1 Answer

up vote 1 down vote accepted

With a for loop :

for %x in (*.m4v) do ren "%x" *.avi
link|improve this answer
Thanks, seems to work. – David Gard Feb 29 at 10:13
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.