Via Command Line

<< Click to Display Table of Contents >>

 

Via Command Line

An E3 Viewer can also be accessed via command line:

Viewer [server_name] [options]

 

The server_name parameter stands for the name of a machine where E3 Server is executing. If not informed, a dialog box is displayed asking about application's server path, as when executing an E3 Viewer from the Start menu (as shown in the next topic).

Configuration options for this command prompt are:

-screen or /screen: Allows users to inform a valid initial Screen, different from the one configured in a Domain

Viewer [server_name] –screen <screen_name>

 

-noping or /noping: Discards the need to perform a ping command to a server before attempting to connect (a direct connection attempt)

Viewer [server_name] –noping

 

-readonly or /readonly: Allows users to specify whether an E3 Viewer tries to connect in Read-Only mode. When it is performed, an E3 Viewer always uses a Viewer Only license

Viewer [server_name] -readonly

 

-cachepath or /cachepath: Allows users to specify a different directory to save E3 Viewer's cache. If it is omitted, this value is Windows' default temporary directory (the TEMP environment variable)

Viewer [server_name] –cachepath <directory>

 

-useservers or /useservers: This option enables an E3 Viewer to try to connect only to servers specified on the command prompt. If this option is not present (its default behavior), E3 Viewer can try to discover alternative servers in case it cannot connect to servers passed as parameters on the command prompt. This option works only on a local network, therefore it must be informed in case a server that an E3 Viewer is trying to access is outside the local network

Viewer [server_name] –useservers

 

-params: Allows users to specify E3 Viewer's initialization parameters. This option cannot be specified immediately before a list of servers. Values passed to this option can be retrieved via script using Viewer's Params property. For more information about this property, please check chapter Viewer on E3 Reference and Scripts Manual

Viewer -params <Name1>=<Value1> [<Name2>=<Value2>] ...

 

-help: Displays a dialog box with usage examples of an E3 Viewer's command prompt options, as in the next figure

An E3 Viewer's help dialog box

An E3 Viewer's help dialog box

Was this page useful?