--- title: "ExecuteCommand" slug: "execute-command" updated: 2026-08-06T06:57:37Z published: 2026-08-06T06:57:37Z canonical: "docs.lobstersoftware.com/execute-command" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # ExecuteCommand ## Description **Class name:** com.ebd.hub.datawizard.util.ExecuteCommand **Configuration:** Path to properties configuration file in the "Additional parameters" field. This class is able to invoke commands at the operating system level. ## Parameters | Parameter | Description | | --- | --- | | cmd | Command to be executed, for example, *ls*. | | param. | Parameters for the command. The index is *1*. If *param.1=-l* and the command is *ls*, *ls -l* will be executed. | | working.dir | Working directory in which the command will be executed. If no directory is set, the installation directory of the Integration Server will be used. | | max.time | Maximum waiting time for the command before an error is reported. | | error | An error is reported, if the execution of the command delivers the specified error to stdout. The prefix *regex:*, allows the usage of a regular expression. | | success | Return value of the command in case of success. If nothing is defined, return value *0* will be expected. | | env. | Environment variable, which shall be set before the execution of the command. The parameter value *env.MY_VAR=xyz* sets environment variable *MY_VAR* with value *xyz*. | **NOTE:** You can use placeholder for the values of parameters *cmd* and *param.*: - Variables in syntax *@VAR_NAME@* - System constants (not profile constants) in syntax *%CONST_NAME%* - The placeholders **, **, ** and ** ## Example ```test cmd=C:\\test.bat #param.1= #working.dir= #max.time= error=@VAR_ERROR@ #success= #env.XXX= ``` > [!NOTE] > **NOTE:** > > - The file must be located in the subdirectory ./*conf* of the installation directory of the Integration Server. > - Note the double backslash in the *cmd* command. This is necessary because the backslash in properties files is a special character. See [Structure of property files](/v1/docs/en/intro-concepts-properties-files). > - Spaces are not a problem. The first line could also be *cmd=C:_test x.bat*. ```test mkdir test222 ``` **NOTE:** The file must be located in the working directory*.* Here, in the installation folder *./* of the Integration Server. The Integration Server is the central runtime component of the Lobster Data Platform. It executes integration processes and processes data. The Integration Server stores local certificates and uses their private keys for signing and decryption. It provides all communication services (e.g., FTP, SMTP, HTTP) and connects the application to the database. It is managed via the Admin console.