http://dennysu.no-ip.org/public/epub.rar
似乎是 unzip.exe 無法解壓縮的關係
用 7-Zip 重新壓縮 ZIP 後可正常轉換
@echo off & cd/d "%~dp0"
:Loop
if "%~1"=="" goto :End
set TempDir=%~dp1\tempbook
if exist "%TempDir%" rmdir /s /q "%TempDir%"
7za.exe x "%~1" -o"%TempDir%"
7za.exe a -tzip "%~dpn1_zip.zip" "%TempDir%\*"
ren "%~dpn1_zip.zip" "%~n1_zip.epub"
shift /1
if not "%~1"=="" goto :Loop
:End
if exist "%TempDir%" rmdir /s /q "%TempDir%"
pause
關閉廣告