Iffile; Ifterm; Launch - Honeywell MX8 User Manual

With microsoft windows mobile 6.1
Hide thumbs Also See for MX8:
Table of Contents

Advertisement

IfFile

Description
Syntax
Parameter
Example
Notes

IfTerm

Description
Syntax
Parameter
Example
Notes

Launch

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

Advertisement

Table of Contents
loading

Table of Contents