如果我要生成一个
@echo off
:1
start
goto 1
这样的BAT文件:
那么我在记事本中输入:
@echo off
echo @echo off > bat.bat
echo :1 >> bat.bat
echo start >> bat.bat
echo goto 1 >> bat.bat
然后保存为BAT文件 点击就可以生成一个bat.bat文件
请问有没有更好的方法可以使上面的
echo :1 >> bat.bat
echo start >> bat.bat
echo goto 1 >> bat.bat
这三行只用一行命令母就可以表示出来呢??
谢谢!!!
@echo off
:1
start
goto 1
这样的BAT文件:
那么我在记事本中输入:
@echo off
echo @echo off > bat.bat
echo :1 >> bat.bat
echo start >> bat.bat
echo goto 1 >> bat.bat
然后保存为BAT文件 点击就可以生成一个bat.bat文件
请问有没有更好的方法可以使上面的
echo :1 >> bat.bat
echo start >> bat.bat
echo goto 1 >> bat.bat
这三行只用一行命令母就可以表示出来呢??
谢谢!!!
