View Single Post
  #2  
Old 25-03-2021, 12:01
Joe Forster/STA's Avatar
Joe Forster/STA Joe Forster/STA is offline
Senior forum member
 
Join Date: Nov 2000
Location: Hungary
Posts: 9,617
Thanks: 6
Thanked 268 Times in 171 Posts
Joe Forster/STA is on a distinguished road
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!
Reply With Quote