Commands Supported by Launch

Copy

ElseIfFile

IfFile

Mkdir

 

 

 

 

 

 

Delete

EndIf

IfTerm

Rmdir

 

 

 

 

 

 

DelRegData

EndIfFile

Launch

SetRegData

 

 

 

 

 

 

DelRegKey

EndIfTerm

LaunchCmd

SetRegKey

 

 

 

 

 

 

ElseIf

FCopy

Message

Shortcut

 

 

 

 

 

 

The commands supported by Launch are detailed below. Square brackets indicate that a parameter is optional. Characters in italics represent a variable, and not a literal.

Copy

Description

Copies a file but does not overwrite an existing file.

 

Syntax

Copy,source-file,destination-file

 

Parameters

source-file: The file to be copied, including its path.

destination-file: The destination path and filename.

 

Example

copy,\Storage Card\MyData.dat,\Temp\MyData.dat

Notes

If the destination file already exists, it is not overwritten, and no error is given.

If the source file is blank, a zero-byte file is created.

 

Delete

Description

Deletes the specified file.

 

Syntax

Delete,source-file

 

Parameter

source-file: The file to be deleted, including its path.

 

Example

delete,\Temp\MyData.dat

DelRegData

Description

Deletes a specified registry data field.

 

Syntax

Delregdata,key,subkey,field

 

Parameter

key: The abbreviated major registry key where you want to delete a field. Can be one of:

cr or hkcr (HKEY_CLASSES_ROOT)

 

 

cu or hkcu (HKEY_CURRENT_USER)

 

lm or hklm (HKEY_LOCAL_MACHINE).

 

The case of key does not matter.

 

subkey: The subkey that holds the field you want to delete.

 

field: The field that you want to delete.

Example

delregdata,LM,Software\WidgetsPlc\OurApp,AppName

Notes

An error isn’t displayed if you specify a non-existent field, but is displayed if you specify a non-

existent key or subkey.

 

9 - 6