I would like to rename all all.bat files in a directory tree to all.btm. There is not necessarily an all.bat in each branch of the tree. I tried: global rename /E all.bat all.btm Without success. rename /S is for renaming dirs, not files. Why doesn't that work? How do you do it?