my goal is to replace C:\Program Files\180searchassistant\salmhook.dll to a custom file name "C:\japansese characters\japnaese character filename.exe".
nonetheless, ++ for the portion of your post re the backslash...
and re OP's problem with multiple instances of "However I can't do the replacement globally because ... there are 2 places that hold filenames. " one might suggest that:
In reply to Re^2: string replacement question
by ww
in thread string replacement question
by edwardt_tril
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |