title: How to remove BOM from output value
body: <p>I have .bat script that prints the value before the first equal sign into a .txt file:</p>
  
  <p><strong>.txt file:</strong></p>
  
  <pre><code>1986=[TotalItemSize: 793.4 MB (831,989,085 bytes)]=[IssueWarningQuota: 5.039 GB (5,410,652,160 bytes)]
  </code></pre>
  
  <p><strong>.bat script:</strong></p>
  
  <pre><code>@echo off
  for /f  "tokens=1 delims==" %%I in ('type C:\Users\edwio\Desktop\edwio_Test\mokedbi.txt') do (
      echo %%I
  )
  </code></pre>
  
  <p>Because the .txt file is with BOM, my value output is always with unique BOM character:</p>
  
  <pre><code>'!1986
  </code></pre>