View Single Post
Old 03-27-2014, 08:30 PM   #23
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,568
Karma: 79436716
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
I thought the idea was to copy an HTMLZ file to a ZIP file and thats what I'm doing.

The 'dir/b *.htmlz' looks for the htmlz files
The copy "%%~fa" "%%~da%%~pa%%~na.zip" copys the original fully qualified name (the %%~fa) to the NEW name (the "%%~da%%~pa%%~na.zip") with a ZIP extension

The only thing I'm NOT doing is the delete of the file.

If desired add
Code:
del  "%%~da%%~pa%%~na.zip"
AFTER the
Code:
"C:\Program Files (x86)\ubook\uBook.exe" "%%~da%%~pa%%~na.zip"
and before the
Code:
)
PeterT is offline   Reply With Quote