by Luuk » Mon Aug 15, 2022 6:42 am
If not familiar with the command-line, first just type a command like... cd /d "C:\Path\To\Your\Main-Folder"
Then just type cd again, to verify that you are at the correct Main-Folder.
Then, to paste the long command after copying it... Right-click the top-left icon, then Edit, then Paste.
It does find all sub-folders with only one .txt-file (there can be other file-types, but only one .txt-file).
Then it just presents them to the screen like.... "C:\Path\To\FolderNowName" ----- "FolderNewName".
If the list is very long, and you like to make a preview-file, or just save a copy of the original names...
Just add > "C:\Users\YourUserName\Desktop\My-folder-preview.txt" to the very end of the command.
Then just make sure the preview-file is settled at your desktop, before conducting the renames.
If ready to edit the command for renaming, remember it only conducts folder-names with exactly 1 .txt-file inside.
Any folders with no .txt-files or with 2-or-more .txt-files, will not be shown in the preview, and will not be renamed.