正在运行setlocal enabledelayedexpansion echo "value of x (!value of x (some value with unsafe (&<>()") characters inside) is interesting"
为了避免解析错误,我不得不将被回显的值放入<em
我在Windows命令解释器中遇到了一个非常奇怪的问题。它发生在XP和Windows 7上。下面的描述适用于Perl脚本,但这个问题适用于在带有命令行参数的命令行上运行任何类型的程序。特殊的chars \<>在双引号中工作得很好,但是当外部引号使用^来转义时。这个问题与Perl无关,例如产生错误-
'c"' is not recognized as an internal or external com