title: Changing the format of WMIC result
body: <p>I am using below command to get system memory in Output.txt file:</p>
  
  <pre><code>wmic OS get TotalVisibleMemorySize,FreePhysicalMemory &gt; Output.txt
  </code></pre>
  
  <p>memory is coming in Output.txt file in below format:</p>
  
  <pre><code>FreePhysicalMemory  TotalVisibleMemorySize  
  828556                   2061560       
  </code></pre>
  
  <p>But i want, it should come like:</p>
  
  <pre><code>FreePhysicalMemory=      828556   
  TotalVisibleMemorySize=  2061560    
  </code></pre>
  
  <p>I tried some changes in command but not getting the output in required format and don't want to use <strong>systeminfo</strong> command as it takes time.</p>
  
  <p><strong>EDIT1:</strong></p>
  
  <p>Using both the below commands i am getting following output, but i want to add a single space after those equal signs(=)...:)</p>
  
  <pre><code>wmic OS get FreePhysicalMemory,TotalVisibleMemorySize /Format:Textvaluelist &gt; Output.txt
  
  wmic OS get FreePhysicalMemory,TotalVisibleMemorySize /Format:Wmiclivalueformat &gt; Output.txt
  </code></pre>
  
  <p><strong>Output.txt:</strong></p>
  
  <pre><code>FreePhysicalMemory=851528
  TotalVisibleMemorySize=2061560
  </code></pre>
  
  <p>I am trying with below but not working..</p>
  
  <pre><code>For /F "tokens=1 delims==" %%A in ('wmic OS get FreePhysicalMemory,TotalVisibleMemorySize /Format:Textvaluelist') do 
  echo %%A %%B &gt; Output.txt  
  </code></pre>