I have a folder tree with varying folder levels and within each folder are a number of CHM files (Compiled HTML files). I would like a tool to batch convert all of these to EPUB (book) by just specifying the root of the folder tree and have the tool place the EPUB files in the same place as their CHM counterparts. The tool would recursively walk the folder tree to find each CHM and convert it.
I have already seen the question Software to convert CHM files to EPUB/Kindle and answers but this does not give me the ability to specify a root folder and have a tool traverse the subfolders finding each CHM and converting it. None of the tools mentioned do this.
The closest I can find to my requirement is: http://www.enolsoft.com/chm-to-epub-for-mac.html for the Mac (I am an owner of a MacBookPro and machines running Windows XP/7 and Linux). This is a reasonable price at 15$. this tool provides the facility to drag and drop files and place the converted file in the original source folder but it does not seem to provide the facility to just specify a root folder and have it do all the conversion of the files residing underneath this root. (If I don't get a better answer after leaving the question open for a few days then I would probably post this as my answer myself and accept.)
Both free and paid for are OK (as long as paid for is reasonable, i.e. about under 50$).
Mac, Windows or Linux, as long as tool is easy to use, proven and reasonably fast.