|I have a question with regards to variable substring substitution in an NT batch program.|
For example, the following piece of code works as expected and replaces 'ab' with 'xy'.
::Edit and replace the character string 'ab' with 'xy'
ECHO %v_result% = 123xycd
How can I perform the substitution, when the replacement string is a variable instead of the contant string 'xy'
i.e. I want to replace 'ab' with the contents of the variable %v_replacement%, instead of the hardcoded value 'xy' ?