Hi,
how can I determine the vendor of the graphics-card in winst-script?
ciao
Detlef
			
			
									
									Graphics-Card Vendor and Winst
Graphics-Card Vendor and Winst
-- 
Detlef
						Detlef
- SisterOfMercy
 - Beiträge: 1556
 - Registriert: 22 Jun 2012, 19:18
 
Re: Graphics-Card Vendor and Winst
You could parse through all the subkeys in the registry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E968-E325-11CE-BFC1-08002BE10318}
			
			
									
									Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
						- 
				Jan.Schmidt
 - Beiträge: 439
 - Registriert: 08 Jul 2017, 12:02
 
Re: Graphics-Card Vendor and Winst
try something like thisdjockheck hat geschrieben:Hi,
how can I determine the vendor of the graphics-card in winst-script?
ciao
Detlef
Code: Alles auswählen
DosInAnIcon_getVVendor
[DosInAnIcon_getVVendor]
for /f "skip=1" %%a in ('wmic path win32_VideoController get Name^|findstr "."') do set "videovendor=%%~a"
echo "%videovendor%"|findstr /i /C:"Intel" && goto intel
echo "%videovendor%"|findstr /i /C:"whatever" && goto whatever
echo sorry unknown Videocardvendor
goto eof
:intel
echo intel was here
goto eof
:whatever
echo whatever was here
goto eof
:eof