The following batch file works to take directory and file names from a txt file and rename the files in the directory according to the names given.
SETLOCAL Enabl