You are here: Commands > Set with No Preference Equivalents > Set Password

Set Password

Sets the password to access files that are protected by passwords.

Note: Before using this command, see Password for the preferred method of using passwords in procedures. You should ensure that there are other security measures to protect your passwords.

To prevent the password from being written to the Command Log, you should put this command between the Set Echo None and Set Echo On commands. The password is still written in the procedure file itself.

Command Mode Syntax

SET PASSWORD n <TO> <password>

n must be a value from 1 to 5.
password may be any valid character expression.

Example

To set password 1 to “secret”:

SET PASSWORD 1 TO "secret"