Command: lh / loadhigh
LH / LOADHIGH loads an external program into high memory, also
called UMB. This command is used to load TSRs, such as mouse
drivers, into the upper memory to conserve the conventional
memory for other programs.
LH / LOADHIGH is a BATCH FILE / AUTOEXEC.BAT / FDAUTO.BAT command.
It can also be used in command line.
Syntax:
LH [drive][path]filename [parameters] OR:
LOADHIGH [drive][path]filename [parameters]
LH [/L:region1[,minsize1][;region2[,minsize2]...] [/S] [/?]]
[drive][path]filename [parameters] OR:
LOADHIGH [/L:region1[,minsize1][;region2[,minsize2]...] [/S] [/?]]
[drive][path]filename [parameters]
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
Options:
/L:region1[,minsize1][;region2[,minsize2]]...
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
loading.
/? Shows the help.
parameters These are the options to the program that you are loading.
Comments:
LH / LOADHIGH 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 HIMEMX, JEMMEX, or JEMM386 in config.sys.
You can also use LOADHIGH instead of LH.
LH / LOADHIGH is a command internal to command.com and needs no other
file in order to work.
Examples:
All examples also work with LOADHIGH instead of LH.
IN A .BAT FILE / AUTOEXEC.BAT:
lh C:\FREEDOS\BIN\edit.exe
loadhigh C:\FREEDOS\BIN\edit.exe
See also:
autoexec.bat/fdauto.bat
batch files
call
config.sys/fdconfig.sys
command.com/freecom
(fdxms)
(fdxms286)
himemx
install
installhigh
loadfix
jemm386
jemmex
loadhigh
Copyright © 1998 Jim Hall, updated 2011, 2020 and 2022 by W. Spiegl.
This file is derived from the FreeDOS Spec Command HOWTO.
See the file H2Cpying for copying conditions.