I have copied and cobbled VBscript from various sources online -this is it.
It basically adds contents of a folder to a file.
I then send an event with the relevant folder and file parameters -Insert the resulting compressed file to a container field and then upload it via ftp.
It works too ! But I do not know what the &H400 means or does in the VBS file shown in full below LINE 7.
I have also seen scripts with $H214 so would be interested to know what that is too - Amazingly Mr Google has not helped on this occasion.
Set objShell = CreateObject("Shell.Application")
Set WshShell = WScript.CreateObject("WScript.Shell")
DestFldr.CopyHere FldrItems ,&H400
WScript.Sleep 20000 'Sleeps for 2 seconds