RemoteExec is a feature that facilitates the servers ability to send commands to the client. This is done using the command line utility 2XRemoteExec.exe. Command line options include:
|Command Line Parameter||Parameter Description|
|-s||Used to run the 2XRemoteExec in ‘silent’ mode. When inserted in the command line, pop up messages from the application will be displayed. Omitting this parameter would not display any pop up messages.|
|-t||Is used to specify the timeout until the application is started. Timeout must be a value between 5000ms and 30000ms. Note that the value inserted is in ‘ms’. If the timeout expires the command returns with an error. Please note that the application might still be started on the client.|
|-?||Shows a help list of the parameters that 2XRemoteExec uses.|
|"Path for Remote Application"||The Application that will be started on the client as prompted from the server.|
The following command displays a message box describing the parameters that can be used.
This command runs Notepad on the client. 2XRemoteExec C:\Windows\System32\Notepad.exe
In this example, the command opens the C:\readme.txt file in the Notepad on the client. No message is shown and 2XRemoteExec would wait for 6 seconds or until the application is started.
2XRemoteExec C:\\Windows\System32\Notepad.exe “C:\readme.txt”