Search and Replace file names

General discussions about Advanced Find and Replace
Post Reply
Stiffbag
Posts: 12
Joined: Tue Feb 01, 2005 7:11 pm

Search and Replace file names

Post by Stiffbag »

Good Day,

I have 71 files named 1.bat, 2.bat 3.bat and so on. I then created 71 new files for testing purposes and named them 1Test.bat, 2Test.bat, 3Test.bat and so on.

Now that my testing is done I want to do a batch rename from 1Test.bat to 1.bat and so on for the 71 files.

When I do the search for the *Test.bat files the program finds them no problem. But when I get the confirmation message to replace I click Ok to rename it says everything was fine but it did not overwrite the old file.

Here is my search and replace string (use regular expressions is on):

(\w)Test.bat

and replace with

$1.bat

I did a test and if I delete the original file (1.bat) it renames 1Test.bat just fine.

What am I doing wrong?

Abacre
Site Admin
Posts: 1223
Joined: Mon Jan 31, 2005 5:32 pm

Post by Abacre »

Please download the latest version of the program:
http://www.abacre.com/download/afrexe.zip

This is only updated EXE file. You need to extract executable file from
zip archive into folder where the program is installed. So you will
replace old executable file by this new one.

Tell me does it work now? (It should work in this version)
Kind regards,
Abacre Limited
http://www.abacre.com
support@abacre.com

Stiffbag
Posts: 12
Joined: Tue Feb 01, 2005 7:11 pm

Post by Stiffbag »

It work just fine. You are a genius. I can't beleive the level of service you guys a giving. Keep it up.

Ask for a raise I'm sure they are not paying you enought. :D

Post Reply