Start-Up Switch Settings ![]()
CAPITAL has a number of special start-up switches that override default settings or activate special functions when the application is first loaded.
Any combination of switches may be specified during start-up, but one may override another if conflicting commands are issued. As well, some switches may have to be placed after other switches.
To activate a switch, include it immediately after the program file name where you specify the icon property settings to start the application. For example, right click on the icon you activate to start CAPITAL, select Properties from the menu and click on the Program or Short-cut tab. Then change the command line or target line by adding the switch after the program's file name. For example:
Target: CAPWIN/PASSWORD=
In this example, the PASSWORD= switch instructs CAPITAL to ask for the user's password on start-up.
See the table below which lists the available start-up switches.
|
Switch |
Function |
|
/A |
Performs an automatic repair for all companies. |
|
/BACKUP |
Start the INSTALLATION Workshop program and move directly to the backup menu. This switch can be used with the INSTWIN.EXE application only. E.g., INSTWIN /BACKUP |
|
/CLEAN |
This setting performs a Database Maintenance and then an automaitic repair. This switch can be used with the INSTWIN.EXE application only. E.g., INSTWIN /CLEAN |
|
/NOPROMPT |
Start the INSTALLATION Workshop program and start performing a backup immediately. This switch must be used with the INSTWIN.EXE application and must be used in conjunction with the /BACKUP switch or one of the repair switches. E.g., INSTWIN /BACKUP /NOPROMPT If used with the repair switches, CAPITAL does not pause if a problem is found during the repair process. However, all problems are written to a file called REPAIR.LOG found in the CAPITAL company data directory. |
|
/CONFIG=xxx |
Specify an alternate configuration file. The default filename is CAPWIN.INI. If a path is not specified, CAPITAL assumes the configuration file is located in the Windows directory of the PC executing the program. Specify the path and full name of the .INI file when it is located outside this directory. Configuration files contain local information such as file paths to the application programs and databases. |
|
/EXIT |
Specify this switch to exit immediately after CAPITAL has started. This can be useful if you wish to only run a script and then close the application down again. See the /RUN= switch for more details. |
|
/FORCELOAD |
This setting forces the INSTWIN.EXE application to start even when the CAPITAL suite is 'closed for maintenance.' It can be useful when there is the need for a technician or administrator to access repair and maintenance utilities when the CAPITAL application suite is set to not permit users to connect in. This switch can be used with the INSTWIN.EXE application only. E.g., INSTWIN /FORCELOAD For more information on closing CAPITAL for maintenance consult the topic: Blocking User Log Ins. |
|
/L=<username> |
Specify the Log in/Log out user or computer name that will be updated every time CAPITAL is started. This will create a log file which records which computer started CAPITAL, the time of entry, and the time of exit. This can be useful in determining if specific users are not logging correctly out of their computers. For more information see the topic: Log File Analysis Report. |
|
/NOSTARTUP |
If this switch is specified, local start-up settings are ignored. |
|
/PASSWORD=xxx |
Log in with specified password where xxx is the password. If left blank the user will be prompted to enter his or her password when the application starts. |
|
/PICKLIST |
Rebuild contents of pick list file. |
|
/Q |
Quick repair: creates missing index files only for the default company. |
|
/Q:xxx |
Quick repair for a specified company where xxx is the company name. |
|
/R |
Performs an automatic repair on the default company. |
|
/R:xxx |
Performs an automatic repair on the specified company where xxx is the company name. |
|
/Run= |
Execute a CBS script file. For example: CAPWIN /RUN=SETCLOCK.MAC |
|
/STARTMAP=Map Name |
The name of the map to display on start-up. Note that this should be the name of the map, not the map file name. This setting overrides the StartMap= setting in the Windows directory if specified. |
|
/WHMDispatch=Send |
Starts the Warehouse Manager (if available) in dispatch mode and executes the Send operation, then exits the software. |
|
/WHMDispatch=Load |
Starts the Warehouse Manager (if available) in dispatch mode and executes the Load operation, then exits the software. |
____________________________
Related Topics:
![]() |