自己完善下- @echo off
- for /f "delims=" %%a in ('dir /b 192.168.56.1 /a-d') do (
- for /f %%b in ('md5 "192.168.56.1\%%a"') do set "%%~na=%%b"
- )
- for /f "delims=" %%a in ('dir /b /ad') do (
- if %%a neq 192.168.56.1 (
- for /f "delims=" %%b in ('dir /b %%a /a-d') do (
- for /f %%c in ('md5 "%%a\%%b"') do call :check %%%%~nb%% %%c %%a "%%~nb"
- )
- )
- )
- pause
-
- :check
- if %1 neq %2 echo %3 %4 异常
- exit /b
复制代码 192.168.1.105 "GPU-Z 传感器日志" 异常
192.168.1.105 "hwmonitorw" 异常
192.168.1.105 "HWParams" 异常
请按任意键继续. . . |