Annex: System command execution  

System command syntax

The system commands must be written according to the server type that is used. The server on which the command is executed is by default the application server. Warning: the length of the system command is limited to 40 characters, which may lead to the use of an intermediary script. For instance:

  • under Unix or Linux, an example of a system command is /u/mine/my_command.sh
  • under Windows, an example of a system command is C:\prog\command.bat

It is also possible to run the commands on another server accessible from the network:

  • by the syntax: server@command, in which server is the network name of the concerned server, and command is the command to be launched, when the service number is the same.
  • by the syntax: server:service@command , in which service is the service number, when it is not the same.
  • and by the syntax: #@command, used to launch a command from the client workstation (on a Windows client workstation only: the browser forbids to launch a command remotely). For instance, to launch Word(TM) on a client workstation from an software menu, a command file, called for instance word.bat, can be created in C:, which will contain "C:\Program Files\Microsoft Office\Office\Winword.exe" (this last command exceeds 40 characters), and then give as an argument to the system command the following line: #@C:\word.bat

Warning: system authorizations can limit the use of such commands.