> Hi,
>
> I have many comics in both cbr (rar) and cbz (zip) formats. My most
> recent reader however doesn't support well cbr. I want to convert cbr's
> into cbz's.
>
> Here is the F9 script that works well on an individual file.
>
> ::- Convert cbr into cbz
> #ZTTools\rar x -r -AD %1 "%TEMP%"
> #ZTTools\7z.exe a -tzip "%4.cbz" "%TEMP%\%4\*" -r -mx9 -stl
> -sdel
> rmdir "%TEMP%\%4" /Q
>
>
> What script would do the same operation on a set of tagged files?
>
> Thank you in advance
Laurent
I use this general form to handle the current file if no tagged files, or work through the tagged files.
Replace "Echo process %%1" with your doing code.
====================
REM #ZTTag #ZTTemp\~ZTTag.bat -fCALL #ZTTemp\ZTW_MENU.BAT SUB1 %1
IF [%%1]==[SUB1] GOTO Sub1
SET ZTTagged=False
REM #ZTIfTagged SET ZTTagged=True
IF [%%ZTTagged%%]==[False] (
Call :NoTag %1
) ELSE (
CALL #ZTTemp\~ZTTag.bat
DEL #ZTTemp\~ZTTag.bat
)
PAUSE
goto :eof
:Sub1
SHIFT
:NoTag
Echo process %%1
goto :eof
====================
Ben