Quote:
Originally Posted by Big McLargeHuge
I'm glad this is working out for everyone haha, unfortunately i am not so lucky
|
The way that PATH works is that commands (e.g. kindledrm) are detected if they are in a folder that is included in the PATH. This generally includes the current folder. So your first problem is that you should be in your "My Kindle Content" folder, with the ebooks and kindledrm.py. This actually makes the command line simpler:
Code:
cd "C:\Users\Big McLh\Documents\My Kindle Content"
kindledrm B000FC1HBY_EBOK.azw
I may have misspelled the folder or filename, I suggest copying the folder name from the address bar of the open folder (as in your window on the right) and pasting it into the command line via right click. For the filename you can press the tab key to complete the name once you have enough of the name to be unique.
Your next problem is that drmcheck.py isn't being detected as a Python command (it is listed as a TXT file). So something is wrong with it. I think this must be "drmcheck.py ", with a space at the end because "drmcheck.py" would be detected as a Python command (and show up with a blue and yellow icon). Rename the command so that it is detected as Python.
The foreach is now easier too, since all the files are in the current folder:
Code:
echo off
for %a in (*.azw) do kindledrm "%a"
echo on