Use this command line:
Code:
wmic path win32_VideoController get name,adapterram
It won't report RAM above 4GB, though; that's a limitation of this interface. You can find the proper value in the registry:
Code:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}\0*\HardwareInformation.qwMemorySize
where "0*" are the subkeys of available display adapters.
__________________
Joe Forster/STA
For more information, see the
FileForums forum rules and the
PC Games forum FAQ!
Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply!
Homepage:
http://sta.c64.org, E-mail:
[email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back!