Janet,
If I understand you correctly, here is the situation you have:
- Original Filename Renamed to
- filename@f{|56rdfyhf.txt filename.txt
-
AnotherFile.doc [Unchanged]
-
WorkFile@abc123.xlsx WorkFile.xlsx
I just want to make sure I understand before we try to begin.
Some additional questions: What happens if the newly renamed file already exists? Do you over-write or add a sequential number?
The basics of your solution will be to cycle through all your files, determine whether they need to be renamed, if they do, change the name, if not, leave it alone.
Because of some of the additional questions I have asked, this may end up being a little involved than what I initially imagined, but I am sure that we can point you in the right direction of a solution.