Page 1 of 1
Rename files with FileNamesList.txt using BRC64.exe
Posted:
Sat Aug 16, 2014 6:40 pm
by Eugene
I try to use latest version of BRC64.exe with nameslist.txt file like this one
ABC.jpg|XYZ.jpg
MNO.jpg|UVW.jpg
but I cannot find the right command for this action.
Please help me.
Thank you very much. Hope on your reply.
Best regards,
Eugene
Re: Rename files with FileNamesList.txt using BRC64.exe
Posted:
Sat Aug 16, 2014 7:24 pm
by Stefan
Can you point me to where in the help of Bulk Rename Command (BRC)
you have found the mention of renaming from a nameslist.txt file please?
Re: Rename files with FileNamesList.txt using BRC64.exe
Posted:
Sat Aug 16, 2014 7:34 pm
by Eugene
Dear Stefan.
To be honest, I've never find any mentioning about renaming from a nameslist.txt in the BRC_Manual.pdf. Also I've tried to find any solution on this forum using internal search engine with no luck. So, that's because I ask here.
I have a lot of files to rename, but I cannot find a powerful enough command prompt utility for my case.
Maybe you can suggest other tool?
Thanks!
Re: Rename files with FileNamesList.txt using BRC64.exe
Posted:
Sat Aug 16, 2014 9:52 pm
by Stefan
Ahh, that's why I never heard of it.
Command line utilities are not easy to handle, especially with non-ascii chars and spaces.
But for your file name like ABC.jpg|XYZ.jpg it should be death easy.
You would need no Renamer but the DOS ren command, so try a DOS batch, like
@ECHO OFF
for /F "delims=| tokens=1,2" %%R in (nameslist.txt) Do @REN "%%R" "%%S"
nameslist.txt contains
ABC.jpg|XYZ.jpg
MNO.jpg|UVW.jpg
But maybe you are better suited with BRU (Bulk Rename Utility) which supports the feature
of renaming from a nameslist.txt (see the help and search the forum for some older threads about this)
And,... with Regular Expressions has this all nothing to do.
Re: Rename files with FileNamesList.txt using BRC64.exe
Posted:
Sun Aug 17, 2014 5:16 pm
by Eugene
Dear Stefan.
Thank you very much for your code. I will try to apply it to my files.
Best regards,
Eugene