How to read the contents of a .zip file with VBScript without actually extracting the files?

前端 未结 4 1890
离开以前
离开以前 2021-01-18 07:36

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

4条回答
  •  Happy的楠姐
    2021-01-18 08:09

    I'm not sure if it is possible to read the contents of a zip without extracting it.

    If you are just trying to avoid a time consuming copy operation on the data you could try unzipping to a temp directory and then using a "move" function. Move is usually less time consuming than copy as it doesn't actually re-write the data on the disk. It just updates the file system to point at where the data is.

提交回复
热议问题