I have about 1500 files that are prefixed with -- "1 - " (that is one, space, hyphen, space) up to -- "1500 - "
I need a batch to get the file name and strip out this prefix of -- number, space, hyphen, space -- essentially to rename all the files in a single directory. I can put the batch in the same directory to make it easier.
Second part of question -- after the number is "The" or "the" in some cases -- 748 - The ... rest of name ...
So let's also strip out "the" or "The" if it occurs just after hyphen-space (but not elsewhere in the name).
Third, I'd like the renamed files copied to a different directory if possible -- either rename them all in place, or copy the newly named files to a different folder -- don't want 2 copies of each file in the one folder.
MANY Thanks for your help.