Batch renaming

Q & A for the old 2X Explorer file manager. For other topics, please use the corresponding forum.

Moderators: fgagnon, nikos, Site Mods

Post Reply
tomgaughan
New Member
Posts: 1
Joined: 2004 Jan 17, 18:42
Location: Pittsburgh

Batch renaming

Post by tomgaughan »

Hello,
I just started using 2x and am having problems with the batch renaming. I select files (we'll say 3) and generate batch using:

$N=kenswedding$1.jpg

and the following is generated

@echo OFF
REM Created automatically by 2xExplorer
DSCF0020.JPG=kenswedding1.jpg
DSCF0021.JPG=kenswedding2.jpg
DSCF0022.JPG=kenswedding3.jpg

so all seems well. However when i execute all that happens is that my file viewer (Vueprint) launches 3 times and no renaming occurs.

I searched the boards and the provided documentation and haven't been able to find anything and batch commands are new to me.
Thanks in advance for any help provided.
-Tom
User avatar
fgagnon
Site Admin
Site Admin
Posts: 3737
Joined: 2003 Sep 08, 19:56
Location: Springfield

Post by fgagnon »

take a look at
this posting
for a decent explanation of needed syntax.

i.e., your template should probably be something like:
ren $N kenswedding$001.jpg

(note 2 leading zeros to use a minimum of 3 digits for neat numbering in above example -- in case you have hundreds of pics)
Post Reply