Delete Numbers From File Names – rename in batch

We got an email several days ago that read:

“Hi Olga

There is one thing, I think, that could make MultiRenamer an even better
program: the abilty to differentiate numbers from letters. Suppose you have
different length file names ending in numbers, for example: abc123.mid,
gfde13.mid and juroter3.mid. Suppose you have lots of them and you want to
remove the numbers, all at the same time. That would be easy if you had a
command that said: delete numbers. That’s it.
Regards
Samuel”

We thought there may be more people looking for the tool to batch rename files deleting numbers from filenames. Bad news: MuliRenamer can not do that. Good news: Visual Renamer can do that via script. Even better news: you do not have to create the script yourself, we have written it for you. Copy and paste it into the Script panel of Visual Renamer.

var
S: String;
i: Integer;
begin
S := File.Name;
for i := Length(S) downto 1 do
if S[i] in ['0'..'9'] then
S := Copy(S, 1, i – 1)
else
Break;
RenameFile(S + ‘.’ + File.Extension);
end.

visualrenamer

Download Visual Renamer here and try. You won’t think of any renaming template that Visual Renamer can not perform.

Google Bookmarks Reddit del.icio.us Ma.gnolia Technorati Slashdot Yahoo My Web furl Stumble Upon Mixx Newsvine Spurl Propeller

Add comment November 11th, 2008

q


Calendar

October 2014
M T W T F S S
« Sep    
 12345
6789101112
13141516171819
20212223242526
2728293031  

Posts by Month

Posts by Category