VoinLuny, например, так:
Код:
@echo off
setlocal enableextensions enabledelayedexpansion
set sPath=HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\0001\System\CurrentControlSet\Control\VIDEO
for /f "delims=" %%i in ('reg.exe query "%sPath%" ^| find.exe "{"') do (
reg.exe query "%%i"
goto :Teminate
)
:Teminate
endlocal
exit /b 0