View Single Post
Old 03-23-2008, 07:48 PM   #23
zelda_pinwheel
zeldinha zippy zeldissima
zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.
 
zelda_pinwheel's Avatar
 
Posts: 27,827
Karma: 921169
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
Quote:
Originally Posted by nrapallo View Post
NOOOOOOOO!

The installer is just a smart uncompressor! I assume (wrongly so in your situation and JSWolf's situation) that the home directory will be "C:\Program Files\Mobi2IMP". Moving to program, GUI, bin directory will most certainly break this setup!
ok ok calm down !! don't worry, i didn't set anything on fire !!

Quote:
The problem is that the 'Mobi2IMP.exe' in the bin directory (the work-horse routine!) is not placed in your path by the installer.

If YOU place 'Mobi2IMP.exe' in another directory in your path (or add "C:\Program Files\Mobi2IMP\bin"; to your path), then you can call the (recursive) batch file from anywhere! Just put the 'prc2imp.bat' in the directory where your .prc files reside (NOT THE OTHER WAY AROUND. That is like "Letting the mountain come to Mohammad!").
ok, now i understand. the first time, i placed only the .bat file in the directory with my .prc files (I:\austen), but when i double clicked on it, it told me it couldn't find "mobi2imp.exe" (one time for every .prc file...). now i tried placing the .bat and mobi2imp.exe (from the bin directory) in the same directory with the .prc (well, one small .prc, to test), on the I drive : seems to work perfectly.

[EDIT : ARG !! watch out, the batch file looks in sub-directories as well !!! and if you already re-formatted those other opf files, well, you can start over again from a completely new source code... thank god it's not any faster.]

currently, mobi2imp is installed in the default location (C drive) ; but i don't like to mix my system with my other files, that's why the books are on the I drive.

no worries ; now i think i have it figured out, and soon i will have written your tutorial for you

Quote:
I've got company on that anti-BD wagon....
OH yes. that thing is a catastrophe (*especially* for making imp files). i tried using it once ; i never thought i would be so glad to go back to eBook Publisher !
zelda_pinwheel is offline   Reply With Quote