Possible...
I don't have much time atm, so you would need Calibre (
http://calibre-ebook.com/download_portable) for this script to work...
The portable version of it is enough. Install this portable version and remember it's path.
Code: Select all
$ebookMeta = "D:\Users\Highend\Tools\Calibre\Calibre\ebook-meta.exe";
$files = get("SelectedItemsPathNames", "|");
foreach($file, $files) {
$baseName = getpathcomponent($file, "base");
if ($baseName) {
run """$ebookMeta"" ""$file"" --title=""$baseName""", , 1, 1;
}
}
Change the first line to the path of your ebook-meta.exe!
Let's say you installed it to drive D:\
Calibre created a subfolder named "Calibre Portable" automatically, so the new path for the "$ebookMeta" variable would be:
D:\Calibre Portable\Calibre\ebook-meta.exe
After that, save the script, go to your e-book folder and select all files which titles should be changed. Make backups first and try it with e.g. two of them. If it works, fine, do it for all others.
If you find a better command line utility that writes title metadata into different ebook formats... Let me know.