lxh623 当前离线
中尉
buyiyang 当前离线
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">复制代码
评分人数
TOP
tmplinshi 当前离线
版主
@echo off setlocal :: 设置文件夹路径,默认为批处理所在目录 set folder="%~dp0" cd /d %folder% call :SumFiles for %%i in (*.epub) do call :Repair "%%i" echo 修复完毕。按任意键退出... pause >nul & exit /b :Repair <file> set /a fileIndex += 1 echo [%fileIndex%/%fileTotal%] 正在修复文件 "%~n1"... "%~dp0\SigilRepair.exe" /file "%~1" exit /b :SumFiles set /a fileIndex = 0, fileTotal = 0 for %%i in (*.epub) do ( set /a fileTotal += 1 ) exit /b复制代码
"%~dp0\SigilRepair.exe" /file "%~1" /sigil "c:\test\sigil.exe"复制代码