Reference

Home > Documentation > Syntax > Functions > Command


Execute a command line operation.

Not executed in preview mode.

 

Definition

command(arg1, arg2)

Parameters:

  • arg1 – string
    The application to execute.
  • arg2 – string
    Command line arguments for the application set in arg1.

Returns:

  • Null

 

Eg:

command("cmd", "/c delete c:\dev\file.txt")
command("c:\dev\postbuild.bat", "")