回复 3# smss
先在命令行输入dxdiag,如果能打开再尝试以下代码- @echo off
-
- :main
- dxdiag /t info.tmp
- :wait
- if not exist info.tmp goto:wait
- call:find "System Manufacturer"
- call:find "System Model"
- del info.tmp
- pause
-
- :find
- for /F "delims=: tokens=2" %%i in ('findstr /C:%1 info.tmp') do echo %%i
- goto:eof
复制代码
|