Answer the question
In order to leave comments, you need to log in
Renaming files according to the table of correspondences?
There is an array of files for which there is a table with columns "old name" - "new name", for each unique and the match must be exact. Can you please tell me how to automate renaming using the conditional Total Commander? I found an old question, which mentions the ability to load names from a file in Total Commander, but did not figure out where it is and how to use it.
PS Scripts to write, alas, I do not know how.
Answer the question
In order to leave comments, you need to log in
Take your table, add one column to the left of your two (old, new) and fill it with the word rename.
ps If the file names contain spaces or characters like slashes, brackets, etc. (not letters and numbers), then each name must be enclosed in double quotes (100 and one way to do this).
Then select all the cells and copy them to the clipboard, then open your favorite text editor and paste the contents of the clipboard there (alternatively, save a csv file or msdos text, experiment).
It should turn out something like:
rename old.txt new.txt
rename old2.txt new.txt
Then save this file under some name with a .bat extension (eg go.bat) or .cmd to the directory where the files are located. Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question