View Single Post
Old 07-16-2012, 02:14 PM   #12
jndlsrj
Junior Member
jndlsrj began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2012
Device: Iphone 4
Ok,So I was not satisfied with the ebookmobi's doc reading,so I thought of converting the files to epub.
I used this script----
Code:
for %%I in (*.doc) do "%PROGRAMFILES%\AbiWord\bin\AbiWord.exe" --to=html "%%I"
for %%I in (*.html) do "%PROGRAMFILES%\Calibre2\ebook-convert.exe" "%%I" "%%~nI.epub"
which I found in this thread-
Code:
https://www.mobileread.com/forums/showthread.php?p=817200
It works very well except one thing.
Abiword replaces all spaces with the "%20"(without quotes) in the title field which it takes from the filename.
Is there any way to keep the title as the filename but the space should occur as space instead of %20.

I also tried using some other applications instead of abiword but they didn't work well with many files.
Are there any other command line utilities which may present better results for doc to epub creation through batch files.

Thanks.

P.S Should I post this in any other section.?
jndlsrj is offline   Reply With Quote