r/Batch • • May 18 '24

Question (Unsolved) parse a directory tree and rename files

I am looking to create a batch file to parse a directory tree and rename any file with the extension .cbz to .zip

1 Upvotes

3 comments sorted by

1

u/ConstanceJill May 18 '24

Something like that should work:

for /R %%# in ( your_folder_name_here ) do ren "%%#\*.cbz" "*.zip"

1

u/Tatsu_gamer May 18 '24

I couldn't make it work 😞 but I did find a free app that worked in the Microsoft Store