You can use parameters and variables in standalone Command tasks and pre- and post-session shell commands. For example, you might use a service process variable instead of hard-coding a directory name.
You can use the following parameters and variables in commands:
Standalone Command tasks.
You can use service, service process, workflow, and worklet variables in standalone Command tasks. You cannot use session parameters, mapping parameters, or mapping variables in standalone Command tasks. The Integration Service does not expand these types of parameters and variables in standalone Command tasks.
Pre- and post-session shell commands.
You can use any parameter or variable type that you can define in the parameter file.