A great big thanks to both pheisholt & vovo for all your help.

I have finally got all my original full sized grafix back - wonderful - and now burnt onto DVD!

I thought I would condense all the posts & changes about this problem to me from both of these helpful people.

Someone else might use it. The following worked for me and could probably have some steps condensed!!!


A. Copy all original gfx (OrangeCD\databases\covers\*.jpg) to f:\dummy\rename covers\covers original\*.*

B. Renamed all extensions to .jpeg with "Bulk Rename Utility"
(Freeware by Jim Willsher - very powerful, quick and useful - I have been using it for years - great stuff)
(I had to rename all extensions because RenameImages.dax web page output changed extension to .jpeg).

1. Open DaxEdit (daxedit.exe in OrangeCD main program directory), and click the Start Page tab.

2. Paste vovo's code snippet (Shown below) into the Start Page window - I removed first blank line and 1 space before "::start/web"

Quote:

::start/web
<!--[album(all,artist,title)]-->
<!--[volume]-->
<!--[if(cover)]-->RENAME "<!--[cover/]-->" "<!--[artist/]--> -
<!--[title/]-->.jpg"<!--[/if]-->
<!--[/volume]-->
<!--[/album]-->


(Note: This is a slightly modified version of vovo's code. I've omitted the .jpeg extension after [covers/]-->)


3. Save the template in your OCD template folder (default is C:\Program

files\OrangeCD\Templates). You could call it RenameImages.dax, for instance.

Note! The file must have a .dax extension

4. Select Tools &#124; Export To HTML.....
Your new template (RenameImages.dax) should appear in the list of available web page templates

5. Fill in an Output folder location, I used f:\dummy\rename covers, click Next and then Finish

6. Locate the output folder. There you should find a file called index.html, and and 2 subfolders named 'Covers', which contains all your web page cover images (with those weird file names), and 'covers original' the copy of your original database FULL SIZED covers.

7. Open the index.html file in Word, you can use regular expressions for the search and replace operation.

Note: Make sure to save the final result as a text file (*.txt) or copy the result from Word into Notepad, and then save it.

- The ^# is a special function for "any digit" found at the bottom of the replace menu

Run the following search and replace operations

Search for:
'">'
Replace All with:
'' (= nothing)

1st Search for:
'<img class=cover width=^#^#^# height=^#^#^# src="covers/'

Replace with:
'' (= nothing)

2nd Search for:
'<img class=cover width=^#^# height=^#^#^# src="covers/'

Replace with:
'' (= nothing)

3rd Search for:
'<img class=cover width=^#^#^# height=^#^# src="covers/'

Replace with:
'' (= nothing)

(Several small files had only two digits in width or height so 3 search and replaces were required)

4th Search for:
'&amp;amp:' - Some files had the ampersand symbol coverted to this.

Replace with:
'&amp;' (Ampersand symbol = shift 7)

5th Search for:
'/' - Some files had the illegal slash symbol in artist names eg:AC/DC

Replace with:
'-' (This would make AC/DC into AC-DC in the gfx file name)


8. Remove the first line which should read '::start/web'

9. Add '@echo off' on a separate line at the very top of the file

10. Add 'pause>null' on a separate line at the very bottom of the file

11. Name &amp; Save as a text file to f:\dummy\rename covers\covers\, and change the extension to .bat

12. Copy all original (renamed extensions) cover files from f:\dummy\rename covers\covers original\ and pasted over the web page output generated f:\dummy\rename covers\covers\

13. Then doubleclick the .bat file created by Word in the covers directory.

The script should now rename all the cover images in this covers sub-folder.

You may see the following message:

"The system cannot find the file specified"

Not to worry. It is most likely due to the fact that the same image cover occurs several times in you collection (a box set with 2 or more CDs, for instance). This only happened to 46 files out of nearly 3000 gfx - pretty good!

Thanks again for all your help and perseverance.

teemac (Australia)