Execute @Command (Formula Language)

Launches an application.

Syntax

@Command( [Execute] ; application ; fileNames )

Parameters

application

Text. A path and file name specifying the application you want to open.

fileNames

Text or text list. One or more paths and file names specifying the file(s) you want to open in the application. You can specify more than one file, as long as the application can open multiple files at launch time.

Usage

Specify the paths and file names using the appropriate format for the operating system.

This command does not work on the Web.

Examples

  1. This formula launches 1-2-3® for Windows.
    @Command( [Execute]; "C:\\123W\\PROGRAMS\\123W.EXE" )
  2. This formula launches 1-2-3® for Windows and loads the worksheet named SALES.WK4.
    @Command( [Execute]; "C:\\123W\\PROGRAMS\\123W.EXE"; "C:\\123W\\WORK\\SALES.WK4" )