Test run and print RENAME list all of the ,XLSX files in current folder and its subfolders:
@FOR /r %i in (*.xlsx) do @ECHO @REN “%i” “%~ni_v2%~xi”
Run and rename all of the ,XLSX files in current folder and its subfolders:
@FOR /r %i in (*.xlsx) do @REN “%i” “%~ni_v2%~xi”