WxRemoteWxRemote

Remote Commands


Remote Commands are batch scripts (.bat or .cmd files) located on computers with WxListeners, that you can run remotely from the WxRemote Control Center.

By default, all output from the command is redirected to WxRemote Control Center where it appears in a popup window.

To run a command

To suppress the output popup window

NB: The Options window "Show all output from remote scripts" setting overrides this.

Naming convention for Remote Commands

A Remote Command must be named as follows:

AA_B_CCCCCCCCCCCCCCCCC.DDD

Special Environment Variables available to Remote Commands

TASKNAME
    The name of the selected task. For example: "CopyFiles".

TASKRUNNING
    Before WxListener starts the script, it checks if the task is running (1) or not running (0).

WDDIR
    Contains the full path to the directory where WatchDirectory stores its settings.

WFDIR
    Contains the full path to the directory where WatchFTP stores its settings.

See also