我想创建一个名为test1的批处理文件,该批处理文件创建一个名为test2的批处理文件,该批处理文件创建一个名为test3的批处理文件,我这样做是:
@ECHO OFF
ECHO ECHO > test3.bat > test2.bat
但这是行不通的。有什么帮助吗?
您将不得不像>
插入符号一样逃脱特殊字符^
echo echo echo hello ^>t3.bat >t2.bat
type t2.bat
call t2.bat
type t3.bat
call t3.bat
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句