# set the source, destination, and temp zip file $Source = "c:\source" $Destination = "c:\destination" $TempZip = $_AppData + "\temp\temp.zip" #create the zip file $Status = ZipFile("zip",$TempZip,$Source + "\*.txt;" + $Source + "\*.gsk") # error check If left($Status,7) = "*Error*" Cancel Msg=$Status EndIf #unzip the files to the destination folder $Status = ZipFile("unzip",$TempZip,$Destination) # error check If left($Status,7) = "*Error*" Cancel Msg=$Status EndIf # End with message showing number of files copied: $Status = ZipFile("count",$TempZip,"") MsgOk Msg=$Status Files copied |