Skip to main content

Command line

RandPass supports command line parameters for unattended password generation.

Passwords are generated using the settings last configured in the application, and written one per line to a file or to the clipboard.

The examples do not include the full path to RandPass.exe, as it can differ between installations.

Commands

Generate to file

"RandPass.exe" --file <filename>

Generate passwords and save them to the specified file. If the file already exists, it will be overwritten.

Replace <filename> with the full path to the output file, e.g. "C:\passwords.txt".

Generate to clipboard

"RandPass.exe" --clipboard

Generate passwords and copy them to the clipboard.

Uninstall

"RandPass.exe" --uninstall

Delete the installed license file, if one is present.