I created the Regular Expression in the screenshot below to rename files in a folder to be the name from it's 2 parent folders, while still keeping the original file name in the new name. The problem I'm having is the new name has [#] to give me new numbering and the numbering is continuing from folder to folder. Notice it's going 1 2 3, 4 5 6. I need it to do 1 2 3, 1 2 3. Any way to make this work?
The Regular Expression works fine if I do 1 folder at a time but that's not what I need. To many folders to do 1 at a time.
You'll have to turn on Script mode and use some VBScript or JScript logic if you want a different count sequence to be used for different filename prefixes.
Normally I'd write the script but I'm super busy right now, sorry.
If I do the old name of * and try not to insert the old file name into the new file name, it works.
If I change the old file name to "(.+)...." and use "(\1)" in part of the new name, it messes up. Is something wrong with what I'm trying? I'd like it to work both ways... sometimes inserting the old name at the end of the new name.
I meant it as more of a bribe to get him to work on it. Not that it's so hard to fix that it'll turn him to drinking. Is that what you meant abr? I'm a little lost. Didn't want to offend anyone.
I guess in my world it turned into a joke to offer game programmers alcohol to get things done or get into beta's