I have a folder containing an entire volume of a comic book, 9 chapters in total, with both .png and .jpg files.
Each filename is [Series Name] c*** v**.png
I want to make a batch file which compresses all files of a specific chapter in a zip file called Chapter ***.zip, regardless of filetype.
I know little of programming, so I kept searching the web, finding nothing. My attempts at editing pre-made .bats did nothing in the end.
It worked, after a bit of trial and error with the wildcards. The end code is
for /l %%f in (1,1,9) do "c:\Program Files\7-Zip\7z.exe" a "Chapter %%f" -tzip *c??%%f* pause
Now that I go to double-digit chapter number, I believe I'll have to erase one ? from the end string, not to say change the (1,1,9).