回复 1# edison_zhu - @echo off
- TaskList|Findstr /i "360Tray.exe QQPCTray.exe HipsTray.exe">Nul
- If ErrorLevel 1 (
- if not exist "\\192.168.3.222\T$\Zabbix" goto :error
- ) Else (
- echo vbscript:msgbox^(" 检测到机器上有"管家"类软件,请暂时退出后,运行本程序!",64,"注意!"^)^(window.close^)
- pause
- )
-
- :error
- echo.
- echo.
- mshta vbscript:msgbox(" 网络共享不通,无法安装。可能操作系统是Windows10,需要开启SMB1.0协议后才能安装。",64,"注意!")(window.close)
- echo.
- pause >nul
复制代码
|