@ECHO OFF&&setlocal enabledelayedexpansion
set path1=%SystemRoot%\system32\Drivers\
for /f "delims=" %%i in ('dir/ad/b/s %path1%') do (
set all_path=!all_path!;%%i
)
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\DevicePath" /V devpath /t REG_SZ /d %all_path%
问题解决了
Last edited by huahua0919 on 2008-4-20 at 04:45 PM ]