From 0a565cb5c5895b46946d50c6a3df9cf7f6b085a3 Mon Sep 17 00:00:00 2001 From: bin456789 Date: Sat, 18 Nov 2023 21:46:27 +0800 Subject: [PATCH] =?UTF-8?q?windows:=20=E4=BF=AE=E5=A4=8D=2056a8d9b=20?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E6=9F=90=E4=BA=9B=20SCSI=20=E9=A9=B1?= =?UTF-8?q?=E5=8A=A8=E6=9C=AA=E9=A2=84=E5=85=88=E5=8A=A0=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- windows-setup.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/windows-setup.bat b/windows-setup.bat index 41835e2..459bcd2 100644 --- a/windows-setup.bat +++ b/windows-setup.bat @@ -2,7 +2,8 @@ :: 安装 SCSI 驱动 for %%F in ("X:\drivers\*.inf") do ( - find "Class=SCSIAdapter" "%%~F" >nul + :: 不要查找 Class=SCSIAdapter 因为有些驱动等号两边有空格 + find /i "SCSIAdapter" "%%~F" >nul if not errorlevel 1 ( drvload "%%~F" )