View Single Post
Old 10-07-2008, 08:50 PM   #17
askyn
Addict
askyn ought to be getting tired of karma fortunes by now.askyn ought to be getting tired of karma fortunes by now.askyn ought to be getting tired of karma fortunes by now.askyn ought to be getting tired of karma fortunes by now.askyn ought to be getting tired of karma fortunes by now.askyn ought to be getting tired of karma fortunes by now.askyn ought to be getting tired of karma fortunes by now.askyn ought to be getting tired of karma fortunes by now.askyn ought to be getting tired of karma fortunes by now.askyn ought to be getting tired of karma fortunes by now.askyn ought to be getting tired of karma fortunes by now.
 
askyn's Avatar
 
Posts: 300
Karma: 1006538
Join Date: Jul 2008
Device: Kindle Paperwhite (11th Gen)
If the below isnt allowed please remove and let me know. Im not linking to the script etc.

here is a very basic batch file that will help you use the scripts mentioned.

you wil have to replace YOURPIDNUMBERHERE with your own pid number from mobi reader etc.

Put it in your python diretory, put the file to be converted in your python directory then enter the following command:

dedrm filename.ext

It will run the script, remove the drm, and copy the file to the python directory. The file is now called: NAME.DEDRM.MOBI

here is the small batch file I made, if someone better then I could convert it over so that you could just double click the file to be converted and have it appear in the same directory that would be fantastic ( after you associated it of course ):

Quote:
Rem this batch file will take the name passed to it, de-drm it, save it with the .mobi ext
@echo off
cls
Echo Now removeing the DRM from the file %1 , the new file will be named %~n1.DEDRM.MOBI
ECHO .
python mobidedrm.py %1 %~n1.DEDRM.mobi YOURPIDNUMBERHERE
echo .
Echo %1 now has the DRM removed and is called, %~n1.DEDRM.mobi

Last edited by askyn; 10-08-2008 at 12:02 AM.
askyn is offline   Reply With Quote