Difference between revisions of "Command Line Options for the CMOD Client"
m (Added a variety of new command line arguments for the Content Manager OnDemand Client.) |
|||
| Line 57: | Line 57: | ||
Prevents the client from asking for confirmation of things like closing open documents or folders. | 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. | |||
Example: | |||
<code> /L JPN </code> | |||
== /O - Maximum number of open folders == | == /O - Maximum number of open folders == | ||
Limits the user to the specified maximum number of 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 == | == /W - Specify window placement == | ||
| Line 68: | Line 83: | ||
Example: | Example: | ||
<code> /W 5,10,1024,768</code> | <code> /W 5,10,1024,768</code> | ||
== /X - Disable Logoff or Password Change == | |||
With the L parameter, disables logoff: | |||
Example: | |||
<code> /X L </code> | |||
With the P parameter, disables password changes: | |||
Example: | |||
<code> /X P </code> | |||
With no parameters, disables both logoff and password changes: | |||
Example: | |||
<code> /X </code> | |||
== /Y - Disable Change Servers Button == | == /Y - Disable Change Servers Button == | ||
Revision as of 00:41, 10 March 2020
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.
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.
Example:
/S qa.cmod.example.com
/U - User
The /U parameter will enter the specified User Name into the 'User ID' field in the Logon window of the CMOD Client.
Example:
/U bpaton
/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.
Example:
/P SuperSeekretPassword
/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.
Example:
/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.
Example:
/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.
Example:
/F System Log
Less Used Options
/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.
Example:
/L JPN
/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
Example:
/W 5,10,1024,768
/X - Disable Logoff or Password Change
With the L parameter, disables logoff:
Example:
/X L
With the P parameter, disables password changes:
Example:
/X P
With no parameters, disables both logoff and password changes:
Example:
/X
/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.
