

If it isn t, this scheme will need adjustment. This all assumes that your data is of the form oldname.jpg newname.jpgīut you haven't shown us that. You can omit this line and it's companion popd and the resultant batch will then execute in the "current directory". Note that the PUSHD command here will change to the target directory. If these appear correct, change ECHO(ren to ren to rename rather than report (safety measure to avoid damage if something's amiss) To put the Rename tool to practical use, select the photos you want to rename and press the Rename button in the main toolbar (you can also choose Image-> Rename or press F2). Pushd "?:\directory\where\your\pictures\are\storedįor /f "usebackqtokens=1,2delims=," %%a in ("?:\some\directoryname\file.csv") do ECHO(ren "%%~a" "%%~b"Ĭopy-paste using notepad or a real text editor - not WORD - into a file called whateveryoulike.bat where you can't like ren or rename (they're reserved words).Ĭreate a file called '?:\some\directoryname\file.csv' from excel (export to csv format) using commas as separators then run the batch file by simply entering whateveryoulike at the prompt.Īs I'e posted it, the ren commands to rename the files from to will be sent to the console.


Basically, you select a group of photo files. Here's a basic batch file (standard batch, not power-whatever) off So what is batch photo file renaming Batch renaming is a way to rename a large number of files in one simple step. As ever, some representative sample data would be useful.
