title: How to read the contents of a .zip file with VBScript without actually extracting the files?
body: <p>I have a .zip file that starts with a parent directory. I need to read that dir from the file then search my HD to see if that dir name already exists. If it exists, I then delete it and replace it the contents of the .zip file.</p>
  
  <p>All of this I can do, except read the .zip without actually unzipping the file.</p>
  
  <p>The .zip file can be upwards of 2G in size so I want to avoid unzipping, then reading the dir, then copying.</p>
  
  <p>The reason I don't just unzip directly to the location and force an overwrite is that for some reason when using the <code>CopyHere</code> method to unzip, it ignores the switches that would normally force the overwrite and still prompts the user if they want to overwrite.</p>
  
  <p>Code to unzip files:</p>
  
  <pre><code> Set objSA = CreateObject("Shell.Application")
   Set objSource = objSA.NameSpace(pathToZipFile).Items ()
   Set objTarget = objSA.NameSpace(extractTo)     
  
   objTarget.CopyHere objSource,4
  </code></pre>