The method you are using to set the variables (enclosing in single quotes) means that the backslashes are escaped by other backslashes. Your print statement is a good idea and is genuinely showing you the correct values of the variables. A quick read of Quote and Quote-like Operators may help to clear things up for you.
In reply to Re: print backslash in variable
by hippo
in thread print backslash in variable
by palinurus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |