Windows XP script issue

Johnathan Pierce

Honorable
Apr 11, 2013
3
0
10,510
Hello,

The script below is what I use to extract a zip to a different folder and overwrite any files with the same name. The script works fine in Windows 7 but when I use it on Windows XP Machines, it still asks I want to overwrite. I need to have no human interaction with this script. Any help on this matter would be greatly appreciated.


Code:
 strZipFile = "C:\Boxend\Labels.zip"    'name of zip file
    outFolder = "C:\Boxend\"   'destination folder of unzipped files
    
   
    Set objShell = CreateObject( "Shell.Application" )
    Set objSource = objShell.NameSpace(strZipFile).Items()
    Set objTarget = objShell.NameSpace(outFolder)
    intOptions = intOptions = 4 + 16 + 1024
    objTarget.CopyHere objSource, intOptions