Shortcuts – Micro Innovations M000174-19 User Manual

Page 13

Advertising
background image

Windows CE

General

M000174-19

13

1.7 S

HORTCUTS

Shortcuts can be created on the Desktop for easier operation. As the MICRO PANEL does not have a
persistent registry, (i.e. the registry is set according to the CE Kernel with every start), the shortcuts
must be restored with every start. See also chapter

Startup behavior

.

Shortcut or link files can be created with the SHORTCUT program. The program can be called in the
AUTOEXEC.BAT file -- see also chapter

Autoexec.bat

.

The SHORTCUT program supports the call with the following command line parameters:

Parameter

Description

-p «Program»

Selection of the program for which a shortcut file is created (with or without
directory)

-l «Shortcut»

Optional - File name of the LNK file (with or without directory)

If no file name is given, the LNK file created takes on the name of the program
it is meant to call. The LNK file is created in the default directory
«\windows\desktop», i.e. the icons are visible on the Desktop. The file name
serves at the same time as name of the icon on the Desktop.

-q

The program is executed in the background without a window.

Examples of the call within the AUTOEXEC.BAT file:

START shortcut –p FtpSvr.exe

This creates a shortcut file (FtpSvr.lnk) for the FTP server which is copied to the Desktop directory. In
other words, the shortcut is visible on the Desktop.

START shortcut –p CeRemoteSvr.exe –l \storagecard\remote.lnk

This is used to create a shortcut file (remote.lnk) for the remote server, which is copied to the
«\storagecard\remote.lnk» directory.

The LNK files created using the SHORTCUT program are ASCII files with the following format:

0#«File with path»

Advertising