

cbz, so the final code is what user1306322 did plus a renaming line before and afterwards ren *.cbr *.rarįor %%F in (*.rar) do ( "C:\Program Files\7-Zip\7z.exe" x -y -o"%%F_tmp" "%%F" * & pushd %%F_tmp & "C:\Program Files\7-Zip\7z.exe" a -y -r -tzip. The only thing is that I have to go folder by folder and execute the scripts, I wonder if I could add something to just run it in the parent Manga directory and it would do the trick in all subfolders.Īnyways I just want to comment that I did this to convert the files from. \"%%~nF".zip * & popd & rmdir /s /q "%%F_tmp" )Īnd then I wanted to delete the files, they said in the convo that it is better not to in case something can't be converted because it would be deleted and lost, but I had to do this many times (Many folders with diferents mangas) so deleting them afterwards was a lot of work and I preferred to take the risk I just wanted to convert from rar to zip so I changed the extensions and it worked lke a charm for %%F in (*.rar) do ( "C:\Program Files\7-Zip\7z.exe" x -y -o"%%F_tmp" "%%F" * & pushd %%F_tmp & "C:\Program Files\7-Zip\7z.exe" a -y -r -tzip. User1306322 answer was super helpful for me, thanks!!
