Quote:
Originally Posted by koland
But the FOR command only works on the one command, not on a second command in the same batch file. So, for example, you can process a bunch of ereader files, naming the directories the same as the original file, but all of them will be called book.html, which means more work to change those names before converting to another format (such as using mobicreator).
|
You can have your for command call another batch file which does multiple commands. I don't think there is a way to have a block of commands in a for... but wouldn't be suprised if it were possible.
Also, I'm confused, why would they all be called book.html? Or you mean... <bookname>.html were book name is different for each book.
Tell us what you are trying to do and I'm sure I can help with the batch commands to do it in one pass.
BOb