Match name of txt file

Advanced Renamer forum
#1 : 15/07-17 16:40
paulo roberto de oliveira
paulo roberto de oliveira
Posts: 1
Hi, im am Brazilian. sorry for my english.

Idont know if the AR have this feature.

Lets me explain

1 - i have 1000 jpg files all named this way NAME+REGISTRATION NUMBER+RANDOM NUMBER

2 - I have a txt file with all registration number


EX:

paulo roberto de oliveira 0.101502055.jpg >> the registration number is 0.10150
marcos santos souza 0.101512059.jpg >> the registration number is 0.10151

so, i want rename all jpg files. but o application was search in txt files the registration number e rename the jpg file that contain same registration number in file name

-txt file <> jpg files <> final result
0.10150 <> paulo roberto de oliveira 0.101502055.jpg <> 0.10150
0.10151 <> marcos santos souza 0.101512059.jpg <> 0.10151

the application only rename jpg files that match registration number in txt file.

I MADE A BATCH FILE THAT MADE THIS. WITH THIS FEATURE THIS SOFTWARE TO BE PERFECT


MY BATCH CODE BELOW. SORRY IF CANT

echo.
echo. Type the txt file name with no ext.
echo.
set /p rendatamatch=type here:
echo.
For /f "delims=" %%i in (%rendatamatch%.txt) do @For /f "delims=" %%I in ('Dir/b *.jpg ^|Find "%%i"') do @Ren "%%I" "%%i.jpg"
echo.
echo.


15/07-17 16:40 - edited 15/07-17 16:46