Quote:
Originally Posted by tylau0
For a user named xxx, Windows XP uses "C:\Documents and Settings\xxx" as the default home folder, while Windows Vista/7 uses "C:\Users\xxx". You may need to change those "C:\Users" with "C:\Documents and Settings\" in the script if you use Windows XP instead of Windows Vista/7.
|
Yes, I failed to account for Windows XP. I have attached an updated zip file with modified files to account for this. You should replace and update ALL the files if you want to use them.
However, at the moment there is a problem with Windows XP (I tested the files on an old XP computer I have but rarely use): it seems ebook-convert corrupts the command environment on XP and this causes the news batch file to termimate. I verified this by manually running ebook-convert: it completes the download and conversion, but it corrupts the command.exe environment in such a way that batch files exit without doing anything and you are unable to run any other batch files. To run a batch file again you have to close the window and open a new command prompt window.
Now, I'm assuming this problem is not unique to my old XP computer, but I'd obviously be interested in veezh or anyone else trying this and seeing if it happens on your XP system. The symptom is
NEWS recipename
terminates in your top-level user directory after displaying
Downloading periodical recipename ...
If you then type "NEWS" (or the name of any other batch file) the command line window simply does nothing (seems to ignore the command).
I will post a message in the main Calibre forum to ask Kovid about this. Until he can issue a fix I don't think XP users will have any joy with this solution. Of course, you could always jump ahead 10 years and upgrade to a Windows 7 computer!