title: Free Physical Memory
body: <p>I want to create a batch file to get,</p>
  
  <p>Total,Available,Free Physical Memory of my system in a text file. </p>
  
  <p>i tried below in a batch but Free Physical Memory i am not getting through command.</p>
  
  <pre><code>systeminfo |find "Total Physical Memory"
  systeminfo |find "Available Physical Memory"
  systeminfo |find "Free Physical Memory"
  </code></pre>
  
  <p>how i can get Free Physical Memory using batch as i know: </p>
  
  <pre><code>Free Physical Memory=Total-(Available+Cache)
  </code></pre>