Command: lh (loadhigh)
LH loads a program into the upper memory area.
Since LH loads the program into high memory there remains
more free space in low or conventional memory for other
LH is a BATCH-FILE / AUTOEXEC.BAT command.
It can also be used in command line.
LH [drive][path]filename [parameters]
LH [/L:region1[,minsize1][;region2[,minsize2]...] [/S] [/?]]
drive The drive letter, e.g. C:
path The directory, e.g. \example\
filename The name of the program to load into the upper memory
area, e.g. edit.exe
Specifies the region(s) of memory into which to load
the program. Region1 specifies the number of the first
memory region; minsize1 specifies the minimum size, if
any, for region1. Region2 and minsize2 specify the number
and minimum size of the second region, if any. You can
specify as many regions as you want.
/S Shrinks a UMB to its minimum size while the program is
/? Shows the help.
parameters These are the options to the program that you are loading.
LH can also be used outside a batch file.
To load up a driver or a program into high memory you first
have to load a driver like (HIMEM), HIMEMX, JEMMEX, (EMM386)
or JEMM386 in config.sys. You can also use LOADHIGH instead of LH.
LH is a command internal to command.com and needs no other file
in order to work.
IN A .BAT FILE / AUTOEXEC.BAT:
Please read this command's lsm file also.
You will find the updated version (internet) here and
the version described in this manual page here.
The lsm file contains information about the name of the programmer,
the download site, and some other command related information.
Copyright © 1998 Jim Hall, updated 2011 by W. Spiegl.
This file is derived from the FreeDOS Spec Command HOWTO.
See the file H2Cpying for copying conditions.