unzipping a file in VBS - errors with Microsoft Windows [Version 10.0.17134.2026]

jon silver 1 Reputation point
2021-05-25T03:13:56.927+00:00

I have a vbscript that (among other things) unzips a compressed file. The code has been working on a number of servers

one pc was just upgraded to Microsoft Windows [Version 10.0.17134.2026]

and now it errors.

set objShell = CreateObject("Shell.Application")

set FilesInZip=objShell.NameSpace(myzipfilename).items

---> Microsoft VBScript runtime error: Object required: 'objShell.NameSpace(...)'

any ideas? pointers?
thanks!

Windows for business Windows Client for IT Pros Devices and deployment Set up, install, or upgrade
{count} votes

1 answer

Sort by: Most helpful
  1. S.Sengupta 24,476 Reputation points MVP
    2021-05-26T06:30:23.837+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.