ZTree.com  | ZEN  | About...  

 Index   Back

Works very well   [Help!]

By: Laurent Duchastel     Montréal, Québec  
Date: Dec 19,2019 at 19:14
In Response to: [Help!] Batch on tagged files (Laurent Duchastel)

Thanks again.
The script works well for both tagged files or current files!

::- Convert cbr into cbz (Current file or Tagged files)
:: Thanks to Ben Kent for the tagged files/current file routine

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
goto :eof

#ZTTools\rar x -r -AD %%1 "%TEMP%"
#ZTTools\7z.exe a -tzip "%%~n1.cbz" "%TEMP%\%%~n1\*" -r -mx9 -stl -sdel
rmdir "%TEMP%\%%~n1" /Q
goto :eof

Laurent Duchastel


Messages in this Thread

94,977 Postings in 11,970 Threads, 349 registered users, 48 users online (0 registered, 48 guests)
Index | Admin contact |   Forum Time: May 31, 2020 - 6:10 am EDT  |  Hits:31,274,953  (2,356 Today )
RSS Feed