如何使用Batch获取图形卡信息?

时间:2012-10-31 11:01:45

标签: batch-file

我想使用Batch获取有关显卡的一些信息。但我不知道代码。我已经尝试过wmic了。但它没有获取显卡信息的命令。我怎样才能获得这些信息。

这是我在Batch上显示的示例(如GPU-Z)

Name: NVIDIA GeForce 210
Memory Size: 512 MB
GPU Clock: 589 MHz
Memory: 400 MHz
Shader: 1402 MHz

1 个答案:

答案 0 :(得分:1)

如果您正在寻找类似的东西..尝试使用dxdiag获取日志文件并解析它

---------------  
Display Devices  
---------------  
          Card name: NVIDIA GeForce 410M  
       Manufacturer: NVIDIA  
          Chip type: GeForce 410M  
           DAC type: Integrated RAMDAC  
         Device Key: Enum\PCI\VEN_10DE&DEV_1055&SUBSYS_908B104D&REV_A1  
     Display Memory: 1241 MB  
   Dedicated Memory: 482 MB  
      Shared Memory: 758 MB  
       Current Mode: 1366 x 768 (32 bit) (60Hz)  
       Monitor Name: Generic PnP Monitor  
      Monitor Model: unknown  
         Monitor Id: LGD02DC  
        Native Mode: 1366 x 768(p) (59.996Hz)  
        Output Type: Internal  
        Driver Name: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um  
Driver File Version: 8.17.0012.6721 (English)  
     Driver Version: 8.17.12.6721  
        DDI Version: 11  
       Driver Model: WDDM 1.1  
  Driver Attributes: Final Retail  
   Driver Date/Size: 3/29/2011 14:42:52, 12840040 bytes