title: WMIC If and slse
body: <p>i need to update iTunes in 800+ computers.</p>
  
  <p>The version number is deployed thru a txt file:</p>
  
  <p>I am trying to start a logon script where i query if itunes is updated, i am not used with wmic commands so i need something like:</p>
  
  <blockquote>
    <p>if version is 11.1.1.11 (version.txt) goto end, else start itunesupdate.bat</p>
  </blockquote>
  
  <p>This is the command to get the installed iTunes version</p>
  
  <blockquote>
    <p>wmic product where name="iTunes" get name, version</p>
  </blockquote>
  
  <p>Now i need something to query a txt file where the actual version number is </p>
  
  <p>If version is diferent, then run the command:</p>
  
  <blockquote>
    <p>\10.x.xxx.xxx\hgw\sc\itunes_update.bat</p>
  </blockquote>