Is it possible to loop this to rename all the PDFs in a Folder using this code? I am not that great with Windows Batch Scripting at least in terms of Loops and Variable Setups.
@echo off
pdftotext "XYZ.pdf"
rem set /p title=< "XYZ.txt":
set /p title=< "XYZ.txt"
ren "XYZ.pdf" %title%.pdf
pause