title: creating object "wscript.shell" fails
body: <p>My script looks like:</p>
  
  <pre><code>&lt;script type="text/vbscript"&gt;        
  
  Dim WshShell, oExec  
  Set WshShell = CreateObject("WScript.Shell")
  
  Set oExec = WshShell.Exec("cmd /c cd D:\d &amp; D: &amp; winzip32.exe -min -a D:\a")
  
  Do While oExec.Status = 0
       WScript.Sleep 100
  Loop
  
  WScript.Echo oExec.Status
  &lt;/script&gt;
  </code></pre>
  
  <p>The idea was to use explorer to open these files. The problem I'm having though is on the line:</p>
  
  <pre><code>Set WshShell = CreateObject("WScript.Shell")
  </code></pre>
  
  <p>I keep getting the message </p>
  
  <blockquote>
    <p>ActiveX component can't create object: 'WScript.Shell'</p>
  </blockquote>
  
  <p>I'm totally confused because this exact same code runs fine if I write it in
  a <code>.htm</code> file.  </p>
  
  <p>Why does my browser treat my <code>.asp</code> page differently than the <code>.html</code> file?<br>
  How do I fix this problem?</p>