set my_string=My string has special character ^|
echo %my_string%
REM will echo My string has special character |
REM ^ is escape character
Title:
batch special char in string
Description:
set my_string=My string has special character ^| echo %my_string% REM will echo My string has special character | REM ^ is escape charact...
...
Rating:
4