MS-DOS and Windows command line lh command

Updated: 05/21/2018 by Computer Hope
lh command

The lh (load high) command is used to load programs in to high memory to free up conventional memory. This command is used in the autoexec.bat file.

Availability

Lh is an internal command loaded in the autoexec.bat that is available in the following Microsoft operating systems.

Loadhigh syntax

Loads a program into the upper memory area.

LOADHIGH [drive:][path]file name [parameters]
LOADHIGH [/L:region1[,minsize1][;region2[,minsize2]...] [/S]][drive:][path]file name [parameters]
/L:region1[,minsize1][;region2[,minsize2]] Specifies the region(s) of memory where 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.
[drive:][path]file name Specifies the location and name of the program.

Loadhigh examples

LH C:\MOUSE\MOUSE.COM

Load the mouse driver mouse.com into higher memory.

Additional information

  • See our loadhigh definition for further information and related links on this term.