本帖最后由 tigerpower 于 2015-7-10 18:34 编辑
总结一下- @echo off
- echo ^<* A *^> %= echo =%
- echo ^^^<* A *^^^> | findstr A %= echo + | =%
- cmd /c exit 65 & echo ^<* %=exitcodeascii% *^> %= int -> ascii =%
- exit|%ComSPec% /k prompt $L*$SA$S*$G | findstr A %= prompt =%
- set/p"=<* A *>"<nul | findstr A %= set =%
- mawk "BEGIN{print\"^<* A *^>\"}" | findstr A %= awk =%
- echo ^^^<* A *^^^> | sed -n "/<.*>/p" %= sed =%
- printf "<* A *>" | findstr A %= printf =%
复制代码 外部命令^用法也不太一样,我晕了,看来只有强记 |