title: Command Line Output to a TXT file (Java.exe -version) Returning blank
body: <p>I need to output some information regarding the java.exe verison to a text file.
  The command prompt command </p>
  
  <pre><code>C:\Windows\System32\Java.exe &gt; C:\Users|txt.txt outputs everything to the correct file.
  </code></pre>
  
  <p>When I try to add the -version</p>
  
  <pre><code>C:\Windows\System32\Java.exe -version &gt; C:\Users|txt.txt, the output text file remains blank.
  </code></pre>
  
  <p>Is there a way to get this into a txt file?</p>