Re^3: Windows and backslashes and replacements oh my!by LanX (Sage)
|on Jun 18, 2021 at 20:36 UTC ( #11134021=note: print w/replies, xml )||Need Help??|
> 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!
°) see Escape_character#Windows_Command_Prompt
In Section Seekers of Perl Wisdom