in reply to Re^2: Windows and backslashes and replacements oh my!
in thread Windows and backslashes and replacements oh my!
> it's not even a little bit weird. Variable expansion is basic job of shells.
The discussion was about "escape sequences" with \ not "variable expansion".
The escape meta in bat is ^ not \
And \ is - unfortunately - used as path separator in win, which rules out any use as escape character.°
Anything else would be indeed "weird", because it would make using paths impossible!
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
°) see Escape_character#Windows_Command_Prompt
In Section Seekers of Perl Wisdom