title: Remove countdown from vbscript yes-no Box
body: <p>I have this script that will display a yes-no box with a 30 second countdown, and if the user has not selected an option after the time is up, then the VBScript automatically selects the option <strong>"Yes"</strong> and returns to a Batch Script.</p>
  
  <p>How do I remove the countdown part from the script, so that it will not default to <strong>"Yes"</strong>, but instead wait until input is given.</p>
  
  <p>Many Thanks</p>
  
  <pre><code>Option Explicit
  Dim oShell, retCode
  Set oShell = WScript.CreateObject("WScript.Shell")
  
  retCode = oShell.Popup("Place your question here?", 30, "Title", 4 + 32)
  
  Select Case retCode
  case 6, -1
      WScript.quit(0) 'Yes or time-out was chosen
  case 7
      WScript.quit(1) 'No was chosen
  End Select
  </code></pre>
  
  <p>vbscript taken from <a href="http://www.msfn.org/board/topic/138818-vbscript-msgbox-with-auto-select-countdown-and-batch-script-input/" rel="nofollow">http://www.msfn.org/board/topic/138818-vbscript-msgbox-with-auto-select-countdown-and-batch-script-input/</a></p>