一个批处理文件包含下面内容并用“批处理软件转COM文件”这个软件(即bat2com)转化后,如果反复按A键也就是反复执行:kc段里面内容,反复几次后便出现file not find等错误,即不能运行kc段里面内容了,我怀疑是键盘缓冲区或磁盘缓冲区不够用,但又解决不了,请问什么原因?如何解决?
......
:start
choice /c:ab /n
if errorlevel 2 goto end
if errorlevel 1 goto kc
:kc
copy a.exe d:
del d:\a.exe
goto start
:end
......
:start
choice /c:ab /n
if errorlevel 2 goto end
if errorlevel 1 goto kc
:kc
copy a.exe d:
del d:\a.exe
goto start
:end
