+1 if I couldn't remove the DRM from Amazon ebooks easily I wouldn't buy them. FWIW here are the steps (all based on software from that apprenticealf.wordpress.com blog):
http://apprenticealf.wordpress.com/
***Amazon Kindle***
- Download and install the Kindle for PC application and ensure all ebooks you want to remove DRM from are downloaded in Kindle for PC
- Download & install Activestate Python Community Edition
- Download the 'combined tools package' from apprenticealf's blog (http://tinyurl.com/6asq47f)
- Double-click KindleBooks/Kindlebooks.pyw from the 'combined tools package', it should pop-up a GUI dialog with window title 'Kindle/Mobi/... eBook Encryption Removal'
- Click the ... to give it the path to the eBook input file. It'll be a .azw file in My Documents\My Kindle Content. Then select the directory where the unencrypted output file should go
- For the 'Alternative Kindle.info file' line do a Windows Search for *.kinf, this will find your kindle.info (in later versions .kinf) file. Eg. on Windows 7 it might be in c:\Users\myuser\AppData\Local\Amazon\Kindle\storage. On Windows XP it's C:\Documents and Settings\myuser\Local Settings\Application Data\Amazon\Kindle\storage
- Click Start!
Note: 'Directory for Unencrypted Output File(s)' should be something simple like c:\ or C:\Documents and Settings\myuser\Desktop. Kindlebooks.pyw has a problem with either the path length or particular characters in the path.