View Single Post
Old 04-13-2012, 07:39 PM   #9
holmgren
Junior Member
holmgren began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2008
Device: nook simple and kindle
transmitthis
thank you for your reply. But, my audiobook folders are named rather sloppily, like
agatha christie - murder on orient express
agatha christie - partners in crime
and then some have years and series names. No way to import it neatly into excel columns. But I did finally come up with a solution. Elegant it isn't!

Use Karen's directory printer freeware (or something) to generate a text file of folder names only.

agatha christie - murder on orient express
agatha christie - partners in crime


Using Notepad++
hold Alt key down and click/drag mouse in a straight line down in front of the first character in each line. That will leave you with a long skinny cursor blinking.

Type these letters: type nul>"
They will magically appear in front of each line.

type nul>"agatha christie - murder on orient express
type nul>"agatha christie - partners in crime


Then, click edit/select all
then search/replace
on the replace tab enter (.)$ in the find what window and
\1.txt" in the replace with window

In the middle of that tab, put a check mark by In Selection and
at the bottom check the button in front of regular expression.
Click Replace all.

type nul>"agatha christie - murder on orient express.txt"
type nul>"agatha christie - partners in crime.txt"


Now insert as a first line:
@echo off

and I put a last line with the word pause so the cmd window won't close and I can read error messages if any. Save the file with a .bat extension (make sure to select "all" in the drop down box by "save as type". )

@echo off

type nul>"agatha christie - murder on orient express.txt"
type nul>"agatha christie - partners in crime.txt"

pause


Put this file in a folder by itself, double click to run and all the text files should appear in that same folder.

Then you can add them all to Calibre.

This probably looks atrocious to anybody with a lick of programming skills. But I was very proud of myself for figuring it out.

Mary H.
holmgren is offline   Reply With Quote