Hi! I'm not Koland, but I use some various batch files in my own processing. I actually make sure that all my original files are named in a specific format and then I use batch to both dedrm and set the author and title metadata. However, if you just want to remove the drm, something like this should work. The following will take any mobi files with a PRC extension and strip the DRM and rename them. For example, a DRM'd book such as "Emma by Jane Austen.PRC" would become "Emma by Jane Austen_free.PRC".
Quote:
for %%i in (*.prc) do "dedrm.py" "%%i" "%%~ni_free.prc" YOURPID
|
Just put this in a file called doit.bat or something. Have it in the same folder as the files you wish to free and make sure your dedrm.py file is in the same folder or in your system path.
If the files you want to dedrm are mobi instead of prc extensions, just change the command to reflect that. Or if you have both, just have duplicate the command in the file - 1 with prc and the other with mobi