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 10 Compatibility
Windows 10 Compatibility
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Compatibility: The extent to which hardware or software adheres to an accepted standard.
450 questions
{count} votes

1 answer

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