
If you need, for example, an 8-character password consisting of uppercase and lowercase letters, you can use the following command:įurthermore, you can use the parameter a to determine whether the password must always contain characters from all specified character classes (a=1) or not (a=0). If only digits should be used, just pass only the d (digits) as a parameter: If only uppercase letters, lowercase letters and numbers should be used, omit the s for special characters: You can specify the letters for all character classes if characters from all character classes should be used for your password: The letters can be freely combined with each other. With the parameter "c" (for character classes) you can determine in batch mode from which character classes your password should be built.įor each character class there is a letter: u (uppercase) stands for uppercase letters, l (lowercase) stands for lowercase letters, d (digits) for numbers and s (special characters) for special characters. In the PasswordGenerator there are 4 character classes available for your passwords: uppercase letters, lowercase letters, digits and special characters. Influence the Character Classes used for the Password If you omit the "l" parameter, the default settings are used for the password length. In addition, the default settings of the Password Generator are used for the password.

With this line you create a password with 16 characters. Simply write after l= how long your password should be. The first interesting parameter with which you can set the desired length of your password is the parameter l. These are either the default settings of the Password Generator or the start settings, if you have saved any. Since this call does not contain any further parameters, the standard settings are used for generating the password. The program automatically generates a password immediately after starting, outputs this via the command line and then exits itself again.

With this, the Password Generator starts in batch mode without a graphical user interface.

Simply call the Password Generator via the command line or within a script with the parameter -cl (stands for command line): To put the Password Generator in batch mode, only one parameter is required.
