Name
zip.SetDefaultPassword -- set default password
Synopsis
zip.SetDefaultPassword(id, pwd$)
Function
This function can be used to set a default password that is used to encrypt and decrypt files if no other password is provided. You need to pass the identifier of a zip archive in id and a password in pwd$. If you pass an empty string in pwd$, the default password is unset.

Functions that use the default password if no other password is explicitly specified are zip.AddFile(), zip.ExtractFile(), and zip.SetFileEncryption().

Inputs
id
identifier of the zip archive to use
pwd$
new default password or empty string to unset the default password

Show TOC