I am using WinZip 25 enterprise to zip a folder using AES 256 bit encryption. The command used is
$PathToWinZipExe = "C:\Program Files\WinZip\WZZIP.EXE"
$ZipPassword = "somethingLongToFitCriteria"
$sourceDir ="C:\MyFolder"
$sourceDir ="C:\MyFolder.zip"
$zipResult = & $PathToWinZipExe -ybc -a -r -p -en -s"$ZipPassword" -ycAES256 $destFileNameFullPath $sourceDir
Can anyone help me with above command to make zip creation synchronously. Based on this document it looks like the default behavior is async.