Honeywell MX7 Tecton User Manual page 197

With microsoft windows embedded ce 6.0
Hide thumbs Also See for MX7 Tecton:
Table of Contents

Advertisement

IfFile
Begins the conditional execution of a block of commands only if the specified file exists.
Description
IfFile,file
Syntax
file: The path and filename to determine if the commands should be executed
Parameter
IfFile,\System\MyData.dat
Example
ElseIfFile
EndIfFile
If the file already exists the commands are executed.
Notes
This test does not care if file is a file or directory.
Nesting is supported.
IfTerm
Begins the conditional execution of a block of commands only if the terminal matches the
Description
specified terminal type.
IfTerm,terminal
Syntax
terminal: The terminal type to determine if the commands should be executed
Parameter
IfTerm,MX8
Example
EndIfTerm
If the terminal type is identical (not case-dependent) the commands are executed.
Notes
Nesting with IfFile is supported. Nesting with IfTerm is meaningless.
Launch
Runs a program.
Description
Launch,program,wait-code
Syntax
program: The full path and filename of the program to be run.
Parameter
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.
launch,\Windows\Calc.exe,w
Example
This differs from LaunchCmd in that Launch has no parameters.
Notes
any number of commands, executed if file exists
any number of commands, executed if file does not exist
any number of commands
191

Advertisement

Table of Contents
loading

Table of Contents