Intermec 6200 Guia De Referência

Página de 410
SECTION 3
Supporting Windows Applications
PEN*KEY
R
 6200/6300 Hand-Held Computer Programmer’s Reference Guide    3-7
Windows Shell
NORSHELL.EXE, the Windows shell replacement, provides system management
functions specific to NORAND handĆheld computers.  NORSHELL.EXE, which
must be loaded in all Windows configurations, provides a method for launching
multiple applications when Windows startsĆfunctionality similar to that provided
by the standard Windows shells (Program Manager and File Manager).
Installation and Configuration
To install NORSHELL.EXE as the Windows shell program, edit the 
shell=
" line
in SYSTEM.INI to 
shell=norshell.exe
", as shown in the following example:
SYSTEM.INI:
shell=norshell.exe
To configure NORSHELL.EXE, make the following entries in the 
[WINDOWS]
"
section of the WIN.INI Windows initialization file:
"
NorShellRun
Add the NorShellRun=<application command line>" line to WIN.INI to
launch an application.  Specify command line switches if required.
"
NorShellRunDir
If you need to specify a startup drive and directory for an application, add
the NorShellRunDir=<drive:directory>" line to WIN.INI.  NORSHELL
changes the default drive and directory, as needed.
"
NorShellLaunch
Note that NORSHELL does not interpret the run=" and load=" lines in
WIN.INI to avoid conflicts with other Windows shell programs.  For
example, you might want to use the Windows File Manager as your
application and have it process the WIN.INI run=" and load=" lines.
If you do need to launch several utilities or applications before starting a
particular application, add a NorShellLaunch=<program list>" line to
WIN.INI.  This line is formatted identically with the run= line used by
the standard Windows shell programs.  The programs are run in the order
they appear and are displayed with the SW_SHOWMINIMIZED setting.
(See the Windows 3.1 documentation for the ShowWindow function.)
NORSHELL WIN.INI Example
All examples in this section assume the SYSTEM.INI entry documented in the
preceding paragraphs.  The WIN.INI example shows running an application,
MYAPP.EXE," after changing to drive C" and directory \app."  The Windows
clock and calculator programs are executed before running the application.
WIN.INI:
[WINDOWS]
NorShellRun=MYAPP.EXE /aswitch /anotherswitch
NorShellRunDir=c:\app
NorShellLaunch=clock.exe calc.exe
This example launches the Windows File Manager shell application, which
launches the clock and calculator in turn.
WIN.INI:
[WINDOWS]
NorShellRun=WINFILE.EXE
run=clock.exe calc.exe
3. Windows
Applications