title: .bat random timeout
body: <p>I am trying to create a variable / random timeout value, say between 20 and 40.</p>
  
  <p>I need the time out value to be created by some form of random number generator and insert it in the timeout value field. </p>
  
  <p>Any help much appreciated please, this might be a simple task for some of you but it is driving me crazy</p>
  
  <p>Hi. Thank you for that but I am unable to get it to work. Here is the script I am running perhaps you can tell me where I am going wrong.</p>
  
  <p>here is the script I am running  </p>
  
  <pre><code>start iexplore.exe www.vhstodvd.eu/About-Us.html
  timeout 23 
  taskkill /F /IM iexplore.exe
  </code></pre>
  
  <p>I would like the time out value set at 23 to vary between say 20 and 40.</p>