#1 2021-01-05 13:07

mfoucault
Member
Registered: 2021-01-05
Posts: 1

Script that rename in a specific sub folder

Hi,

I need to apply a script that rename files inside a folder.

The name of that sub-folder change each week
The files to rename inside that sub-folder are have the same name, so I can use a .txt listing file in the script

How to ask Renamer to search in the right sub-folder, knowing that his name changes each week.
Actually my script looks like this :

"C:\Users\Mes Documents\Downloads\ReNamer\ReNamer.exe" /rename "ChangeName" /list "renameList.txt"

Thanks a lot

Offline

#2 2021-01-05 16:16

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,440

Re: Script that rename in a specific sub folder

ReNamer cannot magically guess to right folder, so you'll have to tell it the correct path, one way or another.

How do you figure out where is the correct folder?

Also, you don't need to use "/list" argument. You can pass the folder path directly to ReNamer in the command line arguments.

For example:

ReNamer.exe /rename "My Preset" "C:\My Special Folder"

For the reference:
https://www.den4b.com/wiki/ReNamer:Command_Line

Offline

Board footer

Powered by FluxBB