:解压驱动_1
setlocal EnableDelayedExpansion
for %%i in ("%temp%.\~inf\") do set tmpdir=%%~dpi
for %%i in (drivers_*.*) do (7z x -y -o"%tmpdir%.\%%i\" %%i -r *.inf>nul)
dir /s/a-d/b "%tmpdir%%*.inf">"%temp%.\~getfile.txt"
for /f "usebackq delims=*" %%i in ("%temp%.\~getfile.txt") do (
set get_1=%%i
set get_1=!get_1:%tmpdir%=!
set get_1=!get_1:\%*.inf=!
for /f "tokens=1,* delims=\" %%x in ("!get_1!") do (set rar_file=%%x&&set rar_path=%%y)
)
7z e -y %rar_file% -o"%temp%.\%*.file\" -r "%rar_path%" >nul
if not exist "%temp%.\%*.file" goto :eof
cd /d "%temp%.\%*.file\"
if exist %**.cmd call %**.cmd
del /f /q %**.cmd *.inf *.cat *.txt
move /y *.sys %systemroot%\system32\drivers
move /y *.* %systemroot%\system32
endlocal
rd /s /q "%temp%.\%*.file"
rd /s /q "%temp%.\~inf\"
del /f /q "%temp%.\~getfile.txt"
goto :eof
Found Device: PCI\VEN_10DE&DEV_0064&SUBSYS_1C02147B&REV_A2\3&13C0B0C5&0&09
No DriverNodes found for device.
Found Device: PCI\VEN_10DE&DEV_006A&SUBSYS_1C02147B&REV_A1\3&13C0B0C5&0&30
No DriverNodes found for device.
Found Device: ROOT\SYSTEM\0000
Plug and Play Software Device Enumerator