Use a command-line notifier specify a command (executable, shell script, batch file, etc.) to be executed as a notification.
To configure a Command Line notifier:
![]() |
Specify the executable you wish to run, including any arguments. Note that you need to specify the exact name, including any extensions such as .exe or .cmd.
If you want the message generated by InterMapper to be included in the command, place the text ${MESSAGE} where you would like the message to go.
To include the message escaped for use in an HTTP query string, use ${ESCAPED_MESSAGE} instead. You are responsible for supplying quotes if it is necessary. InterMapper allows an expanded command line (that is, the command line with the path added and the message inserted) up to 65535 characters, but you may find that your host platform limits the command-line size to only 255 characters.
Use ${STRIPPED_MESSAGE } to strip the message of any punctuation that might cause trouble for the command-line notifier
Use ${URLESCAPE} to escape the message for use as a URL.
Note: The command box must refer to an executable which resides in the Tools subdirectory of the InterMapper Settings directory, or a subdirectory thereof. No other executables may be referred to. However, the executables in this directory may be links, shortcuts, or aliases to an executable elsewhere; they will be resolved and executed.
See the Examples page for an example of a command line notifier.