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

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

Post by pj »

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  :)
BRX
Silver Member
Silver Member
Posts: 304
Joined: 2002 Feb 08, 12:12

Post by BRX »

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 ;-))
narayan
Platinum Member
Platinum Member
Posts: 1430
Joined: 2002 Jun 04, 07:01

Post by narayan »

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!
Pyradur
New Member
Posts: 4
Joined: 2010 Aug 07, 08:45

Post by Pyradur »

Flexible Renamer is my choose too.

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

http://hp.vector.co.jp/authors/VA014830 ... /FlexRena/
narayan
Platinum Member
Platinum Member
Posts: 1430
Joined: 2002 Jun 04, 07:01

Post by narayan »

IMHO the best renamer is ReNamer
(http://www.den4b.com/downloads.php?project=ReNamer)

Comprehensive help is here:
http://www.den4b.com/wiki/ReNamer
Post Reply