If the original folder says it, I am trying to have the [E] explicit letter E in my newly renamed folders. Any ideas would be helpful.
1 Like
You could check whether [E] is part of the %_dirname%
variable, which gives the current directory name (before renaming). E.g. add $if($in(%_dirname%,[E]),[E])
to your file naming script at the position where you want the “[E]” to be placed (and maybe add a leading or trailing space or other separator as you need it.
The script snippet will just write “[E]” if that was also part of the original directory name.
3 Likes
Thanks, I will try it out!