1.
@echo off
ms.exe 10.10.10.10 >ms.txt
FINDSTR /i "error:" ms.txt && start cmd.exe
pause
2.
@echo off
ms.exe 10.10.10.10 >ms.txt
FINDSTR /i "app:" ms.txt && start cmd.exe
有没有什么方法能让它在 ms.txt中只要发现
error: 或 app: 都执行 后面的 start cmd.exe
不要说把2个批处理连在一起哈,如果大家有更好的能实现着种操作的代码也写出来啊 ,谢谢 。。
@echo off
ms.exe 10.10.10.10 >ms.txt
FINDSTR /i "error:" ms.txt && start cmd.exe
pause
2.
@echo off
ms.exe 10.10.10.10 >ms.txt
FINDSTR /i "app:" ms.txt && start cmd.exe
有没有什么方法能让它在 ms.txt中只要发现
error: 或 app: 都执行 后面的 start cmd.exe
不要说把2个批处理连在一起哈,如果大家有更好的能实现着种操作的代码也写出来啊 ,谢谢 。。
