Command Line Options for the CMOD Client
There are a number of command line options that can be added to the Windows Shortcut of the Content Manager OnDemand Client to customize it, or to provide frequently used defaults. The command line parameters specified in this article are for Content Manager OnDemand v10.1 and higher, although many of the most common options are available in older versions of the OnDemand Thick Client.
Configuring Shortcuts to use Command Line Options
After creating a new shortcut to the CMOD Client, add command line options to the end of the line, separated by spaces.
Most Common Options
/S - Server
Use the /S parameter, followed by the name of a server that is already-defined in the client, and the shortcut will use that server when the shortcut is double-clicked.
/U - User
The /U parameter will enter the specified User Name into the 'User ID' field in the Logon window of the CMOD Client.
/P - Password
While it's not recommended to store passwords in this way, it might provide you a quick way to log into a local OnDemand instance with a simple shortcut icon.
/C - Change Password
If you'd like to change the CMOD password on the command line, you can issue the /C option with your new password. Must follow the /S, /U, and /P parameters on the command line.
/S myCMODserver.example.com /U CMODUSER /P SuperSeekretPassword /C NewPassword
/T - Title
Change the title of the window from 'OnDemand' to the text you specify here.
/T "Baxter Bay Bank Statement Archive"
/F - Folder
Name of the folder to open automatically at login time. A great way for Content Manager OnDemand administrators to go right to the System Log Folder. If the specified folder doesn't exist, the behavior is undefined -- a different folder may be opened.
/F "System Log"
Less Used Options
/A - Force Codepage
Specifying this parameter followed by a codepage ID forces the IBM Content Manager OnDemand Client to use the specified codepage for displaying documents, instead the system default codepage. Codepages consist of numbers only, and are usually three to five digits in length.
/B - Disable User Confirmations
Prevents the client from asking for confirmation of things like closing open documents or folders.
/K - Disable Exit from CMOD Client
Prevents the user from exiting the CMOD client by disabling the 'Exit' item in the File menu.
/L - Override local language setting
Force the OnDemand Thick Client language to be set to the three-character ISO format specified on the command line.
/N - Disable anticipation
When the CMOD Client starts, it tries to anticipate what the user may want to do next - by offering a login window to connect to the last server, or presenting the 'Open a Folder' window when the last Folder window is closed. Specifying this option disables this convenience feature.
/O - Maximum number of open folders
Limits the user to the specified maximum number of folders.
/Q - Frees memory on folder close
This option will help reduce memory usage on the Client PC by flushing any unnecessary information from the CMOD Client's allocated RAM.
/W - Specify window placement
You can specify the co-ordinates for the window in Top, Left, Bottom, Right
/X - Disable Logoff or Password Change
With the L parameter, disables logoff:
With the P parameter, disables password changes:
With no parameters, disables both logoff and password changes:
/Y - Disable Change Servers Button
Prevents users from adding, changing, or deleting servers from the server list.
/Z - Disable close folder
Prevents the closing of folders. Used in conjunction with /F, it locks the user into a specific folder.