View Single Post
Old 04-26-2007, 09:04 AM   #6
ashkulz
Addict
ashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enough
 
ashkulz's Avatar
 
Posts: 350
Karma: 705
Join Date: Dec 2006
Location: Mumbai, India
Device: Kindle 1/REB 1200
For those on Windows, there's a quick way to convert all PDFs in a folder.
  1. Download the attached file and rename it as pdfread-batch.bat
  2. Open up the renamed file, and change the set OPT= line to use the appropriate profile. You may also have to change the EXT= line if you are using a different profile. In case you have installed in a non-default location, change the set LOC= line too.
  3. Copy the batch file into a directory where you want to convert, and double click on it. The filename will be used as the book title, so be sure to name files properly. A ebook with be created with the same name (but with given extension ie. sample.pdf => sample.lrf).
In case you want to customize further:
  1. Do a normal conversion with your custom params for a single file and copy the command line options to a text file. Some advice on how to copy the options from the window:
    Quote:
    Originally Posted by alex_d
    To copy text from a CMD window, right-click on the title bar (the bar that has the X and minimize buttons), choose properities, and then enable QuickEdit mode. This lets you highlight text and copy it by right-clicking on it. Copy everything, even if you have to scroll up.
  2. Copy the command line parameters and replace the set OPT= mentioned above. Do NOT include the input filename, the title (-t option) or the call to pdfread, just the options. The value should be valid command line options.

People on OS X/Linux can hack together a similiar script very easily, so I won't bother to post it. If you do want such a script, let me know.
Attached Files
File Type: txt pdfread-batch_bat.txt (602 Bytes, 1587 views)

Last edited by ashkulz; 04-26-2007 at 09:23 AM.
ashkulz is offline   Reply With Quote