This site will undergo a maintenance outage on Saturday, 13 September beginning at 2:30 AM Central/1 PM IST for a platform upgrade. The downtime will be ~three hours.

Default language.

Command line syntax guidelines


Remember the following guidelines for command-line syntax:

Important

These commands work only through a Filter and are executed on the server side.
Due to security constraints by browsers, client side programs are invoked through an active link run process.


  • For external processes, adjust the command syntax appropriately for the platform on which the server is running, and include the explicit path to the command; for example, /home/jim/bin/ command.
    In the Windows environment, specify the drive; for example, d:\home\jim\bincommand.bat.
  • In the UNIX environment, the process runs under a Bourne shell.
  • On a Windows server, you can only run a process that runs in a console (such as a .bat script or an executable like runmacro.exe ).
  • Use double quotation marks around substituted fields when the values might contain spaces or other special characters; for example, /bin/cmd"$ field$".
  • Substituted field values that contain hard returns or other special characters can have unexpected results.
  • The BMC Remedy AR System server does not interpret environment variables for the Run Process action. To use environment variables, the action must run in the context of a command window or shell on the client or server computer. Therefore, include the path to the command-line executable in the command-line statement, as in the following Windows example (cmd.exe ):

    "C:\Program Files\I386\cmd.exe %windir%\system32\mplay32.exe %windir%\Media\chimes.wav".

    For UNIX, you must include a reference to /bin/sh in the path. For examples using the Run Process action to integrate BMC Remedy AR System server with other applications, see Using-buttons-and-menu-bar-items-to-execute-active-links.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*