| |
Commandline Support
All password modes in Password Generator Professional can be specified in masks, and commandline mode works in this way by requesting the mask to generate the passwords.
We recommend to use the Make Commandline Batch File function in the program to automaticly generate a batchfile containing the commandline to use.
Examples of using commandline:
| Description: |
Commandline: |
| Normal Mode |
PGP.exe /output "C:\passwords.txt" /format "$p" /quantity 100 /showmsg /unique /mask "{N:aAn,8,8}" |
| Masked Mode |
PGP.exe /output "C:\passwords.txt" /format "$p" /quantity 100 /showmsg /unique /mask "{#:u,1,1000,0}{P:vVcC,r,4,8}" |
| Dictionary Mode |
PGP.exe /output "C:\passwords.txt" /format "$p" /quantity 100 /showmsg /unique /mask "{I:Dic1,n,0,0}" |
| Pronouncable Mode |
PGP.exe /output "C:\passwords.txt" /format "$p" /quantity 100 /showmsg /unique /mask "{P:vVcC,r,5,8}" |
Print:
If you want to print the passwords use "/print" instead of "/output", this will print the passwords using the default printer on your computer. Example:
| Description: |
Commandline: |
| Print Normal Mode: |
PGP.exe /print /format "$p" /quantity 100 /showmsg /unique /mask "{N:aAn,8,8}" |
Copy to Clipboard:
If you want to copy the passwords use "/clipboard" instead of "/output", this will copy the passwords to your clipboard. Example:
| Description: |
Commandline: |
| Clipboard Normal Mode: |
PGP.exe /clipboard /format "$p" /quantity 100 /showmsg /unique /mask "{N:aAn,8,8}" |
Explanation of the different inputs:
| Tag: |
Description: |
| /quantity # |
Specifies how many passwords you want to generate. |
| /output "FILENAME" |
Specifies which file the resulting passwords will be saved to. When using this do not use /print or /clipboard. Remember to add the quotes ("). |
| /print |
Prints the passwords made to the default printer. When using this do not use /output or /clipboard. |
| /clipboard |
Copy the passwords made to the clipboard. When using this do not use /output or /print. |
| /showmsg |
Will show messageboxes when an error occurs, if not having this tag the program will not show any messageboxes. |
| /silent |
With this parameter enabled, the progress window will not be shown when generating. |
| /unique |
Will only generate unique passwords, not allowing any duplicates. Recommended to use. |
| /append |
Used together with the "output" parameter, this will append passwords to an already created password file. |
| /phonetic |
Will also create phonetic strings for each password. |
| /hexadecimal |
Will also create hexadecimal strings for each password. |
| /username "USERNAMEMASK" "FILENAME" |
Will create/grab usernames. If not grabbing passwords from a file, the 2nd parameter can be "". Remember to add the quotes (") on both the mask and filename. |
| /seed # |
Specifies the seed value you want to use when generating passwords. If you want to randomly choose a seed, to not add this tag. |
| /format "FORMATMASK" |
Specifies how the password-line will be formatted. |
| /script "FILENAME" |
Specifies a VBScript to send every password to before returning the password. Remember to add the quotes ("). |
|