I suggest looking at
Visual Kindle Guide in the Wiki. Start with Command Prompt, and then look at KindleFix. This is very similar to mobidedrm, but with fewer arguments.
If you downloaded mobidedrm as a .txt file, it is possible that the filename extension has not been changed (i.e. you have mobidedrm.py.txt). See
Book Designer issue for how to fix this.