note
LanX
<I>> it's not even a little bit weird. Variable expansion is basic job of shells. </I><P>
The discussion was about "escape sequences" with <C>\</C> not "variable expansion".<P>
The escape meta in bat is <C>^</C> not <C>\</C> <P>
And <C>\</C> is - unfortunately - used as path separator in win, which rules out any use as escape character.°<P>
Anything else would be indeed "weird", because it would make using paths impossible!
<P>
<div class="pmsig"><div class="pmsig-708738">
<!--nowiki--><p>Cheers Rolf<br>
<sub>(addicted to the Perl Programming Language :)
<br> <i> [id://1153804|Wikisyntax for the Monastery]</i>
</sub>
<!--nowiki-->
</div></div><P>
°) see [wp://Escape_character#Windows_Command_Prompt] <!-- Wiki2Monks {"version":1.161} -->
11134004
11134019