Command Line Options for the CMOD Client

From CMOD.wiki
Jump to: navigation, search

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

CMOD-Command-Line-Options.png

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

/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.

/O - Maximum number of open folders

Limits the user to the specified maximum number of folders.

/W - Specify window placement

You can specify the co-ordinates for the window in Top, Left, Bottom, Right

Example: /W 5,10,1024,768

/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.