keycleaner.exe — Reformat AMPAC license key file or print license information.
An AMPAC license file, ampac.key, is required to run AMPAC. The file may become corrupted if it is passed by email, moved by FTP, or moved to a different operating system. When this happens, the file may no longer be readable by AMPAC causing AMPAC to report the error "### AMPAC.KEY FILE IS INVALID" and stop. The keycleaner.exe utility can be used to fix many of these problems allowing AMPAC to run. If keycleaner.exe fails to resolve license problems, contact Semichem, Inc. for a new key.
In addition to its role of repairing license keys, it can also be used to extract important license information. This can be used to check the expiration date of the license and to check if Amsol Model Module™ is available. (The AMPAC keyword LICENSE can also be used for this purpose.)
keycleaner.exe -k ampac.key
keycleaner.exe {-f} {infile.key {outfile.key} }
keycleaner.exe {-f} {-o outfile.key} {infile.key }
keycleaner.exe -l ampac.key
| -k | File ampac.key is cleaned and overwritten. This is the most common usage of keycleaner.exe. |
| -f | Force overwrite of output file. (Default = interactive). |
| -o | Specify name of output file. |
| -l | Print license information to standard output. |
Output from keycleaner.exe is written to an AMPAC license file or to the screen.
When keycleaner.exe is used with the "-l" option, license information is written to the screen. Here is an example of the output from
| keycleaner.exe -l ampac.key | Input B.0 |
License Key Type: AMPAC version 3 keyLicenced to: Licensee Contact Name: Someone Customer Address: Somewhere Customer Serial Number: 0 Program Serial Number: 4 Machine Type: 0 Key Type: A Issue Date: 12/31/2003 Expiration Date: 12/31/2004
Semichem Address: Semichem, Inc. Semichem Address: PO Box 1649 Semichem Address: Shawnee KS 66222 Semichem Address: (913)268-3271 Semichem Address: (913)268-3445 (fax) Semichem Address: Options: AMSOL
Application Version: 8.0 License Type: 1