title: How can I get total physical memory using Windows cmd
body: <p>I inquired typeperf counters and instances, but couldn't find anything about the total memory. I only found</p>
  
  <pre><code>    \Memory\Availble Bytes
      \Memory\Cache Bytes
      \Process\Private Bytes
      \Process\Working Set
  </code></pre>
  
  <p>and adding any combination of them didn't match the total memory in task manager.</p>
  
  <p>I also tried</p>
  
  <pre><code>    systeminfo | findstr /C:"Total Physical Memory"
  </code></pre>
  
  <p>but this only worked in english mode(chcp 437). I am not an American and making program for various countries.. and above all, this takes too long time.</p>
  
  <p>Please, anyone know good idea to get total memory in Windows with only cmd? Or please explain me the relation of memories so that I can calculate the total memory from typeperf queries..</p>