Removing the "Start \wait" from infront of ""C:\Program Files\Program Files Portable\ubook\uBook.exe" %name%" make it work perfectly.
Quote:
REM echo off !unREM this when you're happy it works
setlocal ENABLEDELAYEDEXPANSION
set str=%1
set name=%str:HTMLZ=ZIP%
copy %1 %name%
"C:\Program Files\Program Files Portable\ubook\uBook.exe" %name%
del %name%
|