我想要创建一个名为test1的批处理文件,它创建了一个名为test2的批处理文件,该文件创建了一个名为test3的批处理文件。
@ECHO OFF
ECHO ECHO > test3.bat > test2.bat但不起作用。有什么帮助吗?
发布于 2013-07-30 06:00:35
您必须使用插入符号>来转义特殊字符(如^ )。
echo echo echo hello ^>t3.bat >t2.bat
type t2.bat
call t2.bat
type t3.bat
call t3.bathttps://stackoverflow.com/questions/17938660
复制相似问题