Renaming files

A collection of especially useful xplorer² topics and ideas. New users may find it helpful to look here before searching the other forums for information. >>>>>> Please post new material in the relevant forum. (New stuff posted here will be removed.) Thanks. -fg-

Moderators: fgagnon, nikos

Gold Member
Gold Member
Posts: 390
Joined: 2006 Jan 26, 14:01
Location: Florida

Post by pj » 2006 Apr 21, 00:05

nikos wrote: i'd sooner write a full VBS script to do what i want
Does this mean a version of x2 that supports OOP and VBA may be in the future?

Sorry, been getting dizzy lately learning to use VBA for Excel - wonderful programming environment. Using worksheets like dataspaces, and the similarities to APL (IBM's A Programming Language) workspaces is "enticing".

OK, back to the topic, and BTW, you RE gurus are awesome!

PJ in (sunny AND humid) Fla  :)

Silver Member
Silver Member
Posts: 277
Joined: 2002 Feb 08, 12:12

Post by BRX » 2006 Apr 21, 11:11

The latter

searchtext  replacetext

More specifically, the pairs I was using in my last antrenamer procedure looked like this

2006036638407   -20060407
2006040261702   -20060402
2091596060404   -20060404
22442520060320 -20060320
23663670060227 -20060227

and so on.

But having another look at that might have a benefit for me anyway already. It seems that there is at least a pattern that the last 4 numbers always indicate month and day and only the year is split sometimes in parts. So it might be possible to work with an expression that keeps the last four digits and replaces the other numbers before it with the year like "-2006".

So I might not need the pairs anymore. What's the string for this?

(The pair solution would then still be an intellectual challenge ;-))

Platinum Member
Platinum Member
Posts: 1430
Joined: 2002 Jun 04, 07:01

Post by narayan » 2006 Apr 25, 08:05

Yes, that's work cut out for THE Rename. Use tokens.

You have to use different tokens for each pattern. it's easy--try it!

New Member
Posts: 4
Joined: 2010 Aug 07, 08:45

Post by Pyradur » 2011 Feb 14, 18:05

Flexible Renamer is my choose too.

The best file-renamer I ever saw.
No installation necessary!
UnZIP it and run it.
It's free. ... /FlexRena/

Platinum Member
Platinum Member
Posts: 1430
Joined: 2002 Jun 04, 07:01

Post by narayan » 2011 Feb 15, 13:03

IMHO the best renamer is ReNamer

Comprehensive help is here:

Post Reply