Graphics-Card Vendor and Winst
Verfasst: 05 Feb 2020, 14:09
Hi,
how can I determine the vendor of the graphics-card in winst-script?
ciao
Detlef
how can I determine the vendor of the graphics-card in winst-script?
ciao
Detlef
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