View Single Post
Old 02-16-2009, 09:54 AM   #244
jotache
Member
jotache ought to be getting tired of karma fortunes by now.jotache ought to be getting tired of karma fortunes by now.jotache ought to be getting tired of karma fortunes by now.jotache ought to be getting tired of karma fortunes by now.jotache ought to be getting tired of karma fortunes by now.jotache ought to be getting tired of karma fortunes by now.jotache ought to be getting tired of karma fortunes by now.jotache ought to be getting tired of karma fortunes by now.jotache ought to be getting tired of karma fortunes by now.jotache ought to be getting tired of karma fortunes by now.jotache ought to be getting tired of karma fortunes by now.
 
Posts: 14
Karma: 494132
Join Date: Feb 2009
Location: UK
Device: none
 You don't say exactly what error you're getting
Jotache: I’m not getting any error, just the usage message.
 If the book-file you want to remove DRM from were "book1.prc" and the book-file you want to create were "book2.prc" and your PID were "FUZZY$BUNNY"
Jotache: Yes, that is correct (except of course for the PID example).
 then the command you should type is: mobidedrm book1.prc book2.prc "FUZZY$BUNNY"
Jotache: I have tried all variants of this except that I include the extension .py as part of mobidedrm which then reads mobidrm.py
If I remove the extension from the script name and don’t put the extension in the command I get the usual error message ‘not a command or batch file etc. etc.’
 at the very least you should not have the text "mymobipid" in your command.
Originally I didn’t have it, but inserted it when I read the message from pdurrant that I quoted in my message.
 Keeping the quote marks (") around the PID.

Jotache: I tried with and without the quote marks and neither works. BTW I am typing the whole command directly in the command window and not copying or pasting anything or running a batch file. Once I get it to work I’ll probably write a small batch file, but I have to get there first.

 If you've named the script something like mobidedrm.py instead of just mobidedrm, then you should type that instead

Jotache: Indeed. My command(s) reflect the file name of the script: in one case mobidedrm.py and in another case (a separate command run independently of the other) mobidedrm002.py – I did it this way so I can have both scripts in the same directory / folder. Tha ‘usage’ message tells me which version of the script I have run.

 -- whatever you were doing before that actually ran the command albeit unsuccessfully.

Noted. Many thanks for your help.
jotache is offline   Reply With Quote