小弟刚学批处理命令,写了一个批处理文件出现了问题向各位大虾请教。
批处理文件如下:
@echo off
:MM
echo %time%,%date% >>log.txt
PING 127.1 >>log.txt
PING 127.1 |FIND /I "Reply from"
IF %errorlevel%==0 GOTO :MM
ECHO
双击运行后,出现错误提示:The process cannot access the file because it is being used by another process.
先谢谢各位了!!
批处理文件如下:
@echo off
:MM
echo %time%,%date% >>log.txt
PING 127.1 >>log.txt
PING 127.1 |FIND /I "Reply from"
IF %errorlevel%==0 GOTO :MM
ECHO
双击运行后,出现错误提示:The process cannot access the file because it is being used by another process.
先谢谢各位了!!
