Setregkey; Shortcut - Honeywell MX9 User Manual

With microsoft windows mobile 6.5
Hide thumbs Also See for MX9:
Table of Contents

Advertisement

SetRegKey

Description
Adds a sub key to the registry.
Syntax
Setregkey,key,subkey
Parameters
key: The abbreviated major registry key where you want to create the subkey. 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 doesn't matter.
subkey: The subkey you want to create.
Example
Setregkey,LM,Software\MyApp
Notes
Attempting to create a key that already exists does not cause an error.

Shortcut

Description
Creates a shortcut.
Syntax
Shortcut,name,target
Parameters
name: The path and name of the shortcut file. The file name must end in .lnk for Windows
to recognize it as a shortcut.
target: The target of the shortcut. If the target has a space in it quote marks must be used
(see Command Line Structure section and example below).
Example
shortcut,\Program Files\Widget.lnk,"""\My App\Widget.exe"""
Notes
No validation is performed on
to be sure it is executable.
target
9 - 11

Advertisement

Table of Contents
loading

Table of Contents