Microsoft DOS lh and loadhigh command

Updated: 09/15/2017 by Computer Hope

About lh

Used to load programs in to high memory to free up your conventional memory, this command is used in your autoexec.bat file.

Availability

The lh command is and internal command loaded within the autoexec.bat that is available in the below Microsoft operating systems.

MS-DOS 5.0 and above
Windows 95
Windows 98
Windows NT

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 in 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.
[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.