Here's a package of this script you can extract to the ComicRack scripts folder and use this rename template without replacing the original one. Includes an icon as well. Look for it in the right click->Automation menu as \"Rename Files\".

I like maintaining consistant file sorting

even when I'm not using Windows native file

explorers. Files named

Comic #001.cbz, ... , Comic #099, Comic #100

will not be sorted identically to the above

if renamed

Comic #1, ... , Comic #99, Comic #100

as the current renaming script does.

I offer an alternate version that maintains

the zero padding for the series number and

doesn't prepend the number with the pound

sign #. Non-numeric series numbers will

simply appear in the Number spot without

change.

[code:1]

#

# Rename Book Files to

# 'Series Volume Number (of Count) (Year)'

# Maintains zero padding for books with

# ShadowNumber values less than 100

# Non-numeric ShadowNumber values are not

# padded

def RenameBookFiles(books):

for book in books:

series = book.ShadowSeries

volume = \"\"

numeral = \"\"

count = \"\"

year = \"\"

if series != \"\":

if book.ShadowVolume != -1:

volume = \" V\" + str(book.ShadowVolume)

if book.ShadowNumber != \"\":

try:

numeral = \"%.3d\" % int(book.ShadowNumber)

if (book.ShadowCount > 0):

count = \"%.3d\" % book.ShadowCount

count = \" (of \" + count + \")\"

except ValueError:

numeral = book.ShadowNumber

if len(numeral) > 0:

numeral = \" \" + numeral

if book.ShadowYear > 1900:

year = \" (\" + str(book.ShadowYear) + \")\"

name = series + volume + numeral + count + year

book.RenameFile (name)[/code:1]