title: Computername variable in cmd
body: <p>In CMD the following variable will give you the name of the computer: %COMPUTERNAME%</p>
  
  <p>I need a variable that takes a part of the computername.</p>
  
  <p>I need a if statement that checks if the computername contains "KM" at the start and 00 at the end. It should not look at the number between KM and -00</p>
  
  <pre><code>KM100-00
  KM200-00
  </code></pre>