title: Batch file: Check if OS is Windows 10
body: <p>I want to make a batch file which will do the following operation: checks if the running OS is windows. If it is than it should print <code>Hello. Im win 10</code> else should print other message. How can i do this if condition?</p>
  
  <p>Pseudocode:</p>
  
  <pre><code>if OS == Win10 then
     echo Hello im win 10
  else
     echo I am another os
  </code></pre>