LaunchCmd

Description

Runs a program with arguments.

 

Syntax

Launchcmd,program,arguments,wait-code

 

Parameters

program: The full path and filename of the program to be run.

arguments: The command line arguments for program.

 

 

wait-code: Tells Launch how to behave when the program is running.

 

w(ait) causes Launch to stop processing the script until the program has finished executing.

 

c(ontinue) makes Launch continue processing the script while the program is executing.

Example

launchcmd,\Windows\Pword.exe,\My documents\Doc1.doc,w

Notes

This differs from Launch in that LaunchCmd allows parameters.

 

Message

Description

Displays a message on the screen.

 

Syntax

Message,message-title,message-body

 

Parameters

message-title: A heading for the message. Can be left empty.

message-body: The main body of the message. To display a message over multiple lines,

 

 

use the \n character combination at the end of each line. To display a single backslash use

 

two together (\\).

Example

Notes

message,This is a message,”This is the first line,\nand this is the second”

Displaying a message pauses the execution of the script file until the message is OK’d. This is displayed with a modal dialog.

Mkdir

Description

Creates a directory.

 

Syntax

Mkdir,dir

 

Parameters

dir: The full path and name of the directory to be created.

 

Example

mkdir,\Program Files\MyApp

Notes

A new directory cannot be created if its parent directory doesn’t exist.

For example, to create a directory called \MyApp with a subdirectory called SubDir1, use mk-

 

 

dir,\MyApp followed by mkdir,\MyApp\SubDir1.

9 - 10