title: Remove an 'Equals' symbol from text string
body: <p>I'm running a WMIC lookup against a series of remote client machines, pulling in Model and serial number.</p>
  <blockquote>
  <p>For /F &quot;tokens=*&quot; %%b in ('wmic /node:%device% computersystem get Model /value^|find &quot;Model&quot;') do Set model=%%b</p>
  <p>FOR /F &quot;tokens=*&quot; %%c in ('wmic /node:%device% bios GET serialnumber /value^|find &quot;SerialNumber=&quot; ') do set Serialnumber=%%c</p>
  </blockquote>
  <p>The problem I have is that (for example) %serialnumber% is set to:SerialNumber=CNU8424GP3</p>
  <p>I don't want the 'Serialnumber=', I just want the Serial number itself.</p>
  <p>The only way I've found of stripping this is:</p>
  <blockquote>
  <p>set SerialNumber=!serialnumber:SerialNumber=!</p>
  </blockquote>
  <p>but this leaves an equals sign at the beginning of the line. So the final output is =CNUBFZXXY, what I would like to do is to remove the leading =, and I haven't been able to.</p>
  <p>Any Suggestions?</p>