TM1 Function for TI, ExecuteCommand

Executes a command line.

Available In



ExecuteCommand executes a command line.


ExecuteCommand(CommandLine, Wait)

CommandLine = The command line that is to be executed.

Wait = takes value 1 or 0, which indicates whether the process should wait for the command to finish execution and continue to the next statement in the process or continue without respectively.

Video Demo

Use ExecuteCommand to archive a file and rename it with the current timestamp.