Changes between Version 23 and Version 24 of windows/configuration


Ignore:
Timestamp:
Feb 1, 2012, 12:58:15 PM (13 years ago)
Author:
joergs
Comment:

laptop or desktop

Legend:

Unmodified
Added
Removed
Modified
  • windows/configuration

    v23 v24  
    1212
    1313= Hardware Information =
     14
     15== Prodcut Name (computer type) ==
    1416
    1517{{{
     
    3335}}}
    3436
     37== Computer Type (chassis type) ==
     38
     39returns number of chassis type:
     40{{{
     41wmic systemenclosure get chassistypes
     42}}}
     43
     44Values meaning:
     45{{{
     46;1 Other
     47;2 Unknown
     48;3 Desktop
     49;4 Low Profile Desktop
     50;5 Pizza Box 
     51;6 Mini Tower
     52;7 Tower
     53;8 Portable
     54;9 Laptop
     55;10 Notebook
     56;11 Hand Held
     57;12 Docking Station
     58;13 All in One
     59;14 Sub Notebook
     60;15 Space-Saving
     61;16 Lunch Box 
     62;17 Main System Chassis
     63;18 Expansion Chassis
     64;19 SubChassis
     65;20 Bus Expansion Chassis
     66;21 Peripheral Chassis
     67;22 Storage Chassis
     68;23 Rack Mount Chassis
     69;24 Sealed-Case PC
     70}}}
     71
     72=== Laptop or Dekstop? ===
     73
     74{{{
     75If ChassisType==8 || ChassisType==9 || ChassisType==10
     76        Message(ChassisType,"Is a Laptop")
     77Else
     78        Message(ChassisType,"Is not a Laptop")
     79EndIf
     80}}}
     81
     82== systeminfo ==
    3583
    3684{{{