Command Line Startup Options
To use command line arguments, either use the Run command
from the Start menu, or create an icon for the program, and
change the options in the shortcut.
This is a very useful feature of Collect! if you and your
operators work on the same machine all the time.
You can set up these shortcuts for different operators and they
will each be able to start Collect! with their own customized
variations of logging into a Collect! database.
Collect! command line arguments:
| Argument | Use |
Applies To CV11 | Applies To
Web Host |
| /db{database} | Path to database. (e.g. /dbmasterdb) |
X | X |
| /a{file} | Startup using macro file {file} |
X | |
| /b | Beep sounds off |
X | |
| /c{filename} | Enable Flex Screen{Use this INI instead of uidefault.ini} |
X | |
| /d | Enable internal checks |
X | |
| /dl | Disable locale |
X | |
| /e | Error beep OFF |
X | |
| /fnn | Use font size indicated by {nn} for Collect! display. |
X | X |
| /h | Turn off the progress graph in the status bar at the
bottom of the Collect! window |
X | X |
| /i{ID} | User's ID. If ID and password are set then sign on |
X | X |
| /m | Allow multiple instances of the program to run at one time |
X | X |
| /n | Don't remove my ID from netbios name table on exit |
X | |
| /p{pwd} | Password. If ID and password are set then sign on |
X | X |
| /q | User cannot exit from Collect! (except User levels 1 and 99) |
X | |
| /s | Skip the Signon form, prompt for ID and password |
X | |
| /v | Verbose. Frequent messages ON |
X | |
| /z | Turns ON DDE. Used with Merge Documents
and also with Predictive Dialer |
X | |
| /Snn | Causes Collect! to listen on port nn |
| X |
| /W1ss | Puts Collect! into HTTPs secure web server mode
using Collect!'s internal SSL handling |
| X |
| /W1s | Puts Collect! into HTTPs secure web server mode
when using a third party SSL tool |
| X |
| /W1 | Puts Collect! into HTTP web server mode - not secure |
| X |
| /W3 | Causes Web Host to bypass system password authentication.
This is used for real time updates via XML while using Web Predictive Dialer.
This may be limited to Trusted Hosts for security. |
| X |
| /whl | Enables Web Host packet logging.
This is for advanced developer troubleshooting.
This will generate a text file, "webhostpacketlog.txt," in your cv11\bin folder. |
| X |
| /ynn | Causes Web Host to use Port nn for secure mode (HTTPS) |
| X |
| /Thh:mm | Causes the CV11 program to terminate at that time of day.
This is useful for backups and scheduled maintenance tasks.
This shuts down the Collect! instance but NOT the CV11 Server. | X |
X |
| /xmm | Causes the CV11 program to terminate after {mm} minutes.
This closes only the particular Collect! instance. | X |
X |
| /? | Show this list |
X | |
Examples
1. C:\CV11\bin\CV11.exe /iUser1 /ppassword1 /m /q /dbmasterdb
Sign directly into masterdb database using ID User1
and Password password1. Allow multiple instances of cv11.exe to be
started. Do not allow users to exit from Collect!.
2. C:\CV11\bin\cv11.exe /S80 /W1ss /y443
Web Data Entry secure mode
3. C:\CV11\bin\cv11.exe /T1:30
Shut down Collect! at 1:30 AM (Uses 24 hour clock). This shuts
down only the instance of Collect! on the workstation. It does not
shut down the CV11 server.
4. C:\CV11\bin\cv11.exe /x30
Shut down Collect! after 30 minutes of inactivity. This shuts down
only the instance of Collect! on the workstation. This does not
work with Web Host or the Scheduler.
This is useful if you want user specific settings. If
you want a global setting that applies to all users and
all Collect! databases, please use Auto Log Out After,
which is set in Database Preferences.
5. C:\CV11\bin\cv11.exe /dl
Disable Locale
You can also display this table of command line options
by using the /? option. This will display the list to the screen. You
will have to remove this option to enter Collect! normally.
Collect! Screen Display Size
The Flex Screen feature automatically expands Collect!'s screen
to fit the monitor you are viewing. Command line startup option
/c enables you to call a different INI file if
you want to customize Flex Screen or adjust the default settings
for a particular workstation.
Example:
C:\CV11\bin\cv11.exe /c
Use the settings in the uidefault.ini to set
the Collect! screen dimensions. This default INI is shipped
with Collect! and must be located in your CV11\bin folder.
Used by itself, this command is just like Collect!'s
default behavior. It just looks for the uidefault.ini
in the CV11\bin. But, if you specify a different INI, Collect!
will read that for all the Flex Screen settings.
C:\CV11\bin\cv11.exe /cmyui.ini
Use the settings in myui.ini to set the
Collect! screen dimensions. The specified INI file must be
located in your CV11\bin folder
Please refer to Help topic, Flex Screen for details.
Collect! Font Size
With this command, larger numbers display a larger font size
and larger Collect! windows. Smaller numbers display a smaller
font size and smaller Collect! windows.
Example:
C:\CV11\bin\cv11.exe /f16
Start Collect! with 16 pt font size for display.
For resizing Collect!, the /c option
should be used instead of /f in most cases.
It is more comprehensive, enables more customization and
generally gives better results.
Disable Locale
Upper and lowercase case functions in importing respond to the
user's Regional Settings in Windows to be able to work with
foreign languages better. Collect! automatically sets the Locale
internally, given the language code returned from the operating
system. This allows converting language characters to upper
case during the import process.
To turn OFF this feature the command line switch /dl
must be used.
Web Host Packet Logging
This option, /whl, is used for
troubleshooting transmission of Web Host data.
Example:
C:\CV11\bin\cv11.exe /S80 /W1ss /y443 /whl
Web Host Packet Logging Enabled
This will generate a text file in your CV11\bin folder,
i.e. "webhostpacketlog.txt." This is for advanced developer
troubleshooting. This file can be used to reproduce HTTP
headers and payload content, for instance in XML data
pump troubleshooting.
This will also allow you to log SSL encrypted
sessions too, since Collect! writes to these files after
the decryption phase.
See Also
- Introduction To Sign On
|
Please click this link to send us your comments: helpinfo@collect.org