You already know about systeminfo
, as per the question. And as Mat noted in a comment, the mem
command doesn't tell you what you want to know.
JP Software's TCC/LE has the built-in MEMORY
command, which operates thus:
[C:\]memory
30 % Memory load
3,471,441,920 bytes total physical RAM
2,428,456,960 bytes available physical RAM
5,440,962,560 bytes total page file
4,505,726,976 bytes available page file
2,147,352,576 bytes total virtual RAM
2,053,435,392 bytes available virtual RAM
262,144 characters total alias
262,143 characters free
20,480 characters total history
[C:\]
It also has the @WINMEMORY[]
variable function, which can be used in various ways:
[C:\]echo There are %@COMMA[%@WINMEMORY[2]] available bytes physical RAM.
There are 2,456,285,184 available bytes physical RAM.
[C:\]
Bundled with Windows comes the msinfo32
command, whose output can be restricted more narrowly than that of systeminfo
:
msinfo32 /categories +systemsummary
There are a whole load of other utilities, from various people, that can report the same information.
@Mat 941kB in XMS memory, ha ha :-D – Tomas – 2016-05-29T17:26:21.930
1For a laugh you can type
mem
in acmd
shell, but that won't get you very far :-) – Mat – 2011-07-26T11:00:11.7471What version of windows? – EBGreen – 2011-07-26T14:26:17.103