@echo off
rem Example batch file that can be used to procees many files at once.
rem [Category Author Title] are all optional, with same being extracted from source file.
rem ExplodeDir = . means use current directory, but not useful for multiple files.
rem
rem               Source                    ExplodeDir     [Category  Author             Title]
rem               ======                    ==========      ========  ======             =====
rem perl mobi2imp.pl "Oliver Twist.prc"         Oliver      Classics "Dickens, Charles" "Oliver Twist"
rem perl mobi2imp.pl "Alice_In_Wonderland.mobi" Alice       Classics "Carroll, Lewis"   "Alice In Wonderland"
rem perl mobi2imp.pl "Alice_In_Wonderland.mobi" .

perl mobi2imp.pl "Alice_In_Wonderland.mobi" Alice
perl mobi2imp.pl "Oliver Twist.prc"         Oliver
pause