Draft for Information Only
ContentMS DOS Command: LH (LOADHIGH)
MS DOS Command: LH (LOADHIGH)Reference from Microsoft MS-DOS cmd help DescriptionLoads a program into the upper memory area. Loading a program into the upper memory area leaves more room in conventional memory for other programs. (For more information about optimizing memory, see the chapter "Making More Memory Available" in the MS-DOS User's Guide.) SyntaxLOADHIGH [drive:][path]filename [parameters]
To specify the region(s) of memory into which to load the program, use the following syntax: LOADHIGH [/L:region1[,minsize1][;region2[,minsize2]...] [/S]] [drive:][path]filename [parameters]
You can abbreviate LOADHIGH as LH. Parameters
Switches
Related CommandsFor information about loading device drivers into upper memory, see the DEVICEHIGH command. For information about using the MemMaker program to move programs to the upper memory area, see the MEMMAKER command. RemarksDOS=UMB command requiredTo use the LOADHIGH command, you must include the DOS=UMB command in your CONFIG.SYS file. For more information about the DOS=UMB command, see the DOS command. Using MemMaker to optimize the upper memory area automaticallyThe MemMaker program, included with MS-DOS, automatically optimizes your system's memory. MemMaker surveys the upper memory area, analyzes the memory use of your drivers and programs, and determines which drivers and programs fit best into the available UMBs. MemMaker then adds the LOADHIGH command to selected lines in your AUTOEXEC.BAT file and adds /L and /S switches as necessary. For more information about using MemMaker to optimize your computer's memory, see the chapter "Making More Memory Available" in the MS-DOS User's Guide. Upper-memory-area manager must be installedBefore you can load a program into the upper memory area, you must install an upper-memory-area manager. MS-DOS provides EMM386.EXE, which manages the upper memory area for computers with an 80386 or higher processor. To install EMM386, you add a DEVICE command to your CONFIG.SYS file. (The DEVICE command for the HIMEM.SYS extended-memory manager must precede the DEVICE command for EMM386.) How LOADHIGH worksWhen you use the LOADHIGH command to load a program, MS-DOS attempts to load it into the upper memory area. If there is insufficient space in the upper memory area, MS-DOS loads the program into conventional memory. To determine which UMB(s) the program is using, use the MEM /M command and specify the program name as an argument. Using LOADHIGH in your AUTOEXEC.BAT fileThe most convenient way to use the LOADHIGH command is to include it in your AUTOEXEC.BAT file. (If you use the MemMaker program, it automatically adds any necessary LOADHIGH commands to the AUTOEXEC.BAT file.) ExamplesThe following command loads the DOSKEY program into the upper memory area and specifies that MS-DOS should load the driver into region 1: loadhigh /l:1 c:\dos\doskey The following command loads the MYPROG.EXE program into region 1, and also gives it access to upper memory regions 3 and 4: lh /L:1;3;4 c:\programs\myprog.exe The following command loads the MYPROG program into conventional memory (region 0) and also gives it access to upper memory region 1: loadhigh /l:0;1 c:\programs\myprog.exe ©sideway ID: 110700211 Last Updated: 7/28/2011 Revision: 0 Latest Updated Links
![]() ![]() ![]() ![]() ![]() |
![]() Home 5 Business Management HBR 3 Information Recreation Hobbies 8 Culture Chinese 1097 English 339 Travel 18 Reference 79 Computer Hardware 254 Software Application 213 Digitization 37 Latex 52 Manim 205 KB 1 Numeric 19 Programming Web 289 Unicode 504 HTML 66 CSS 65 SVG 46 ASP.NET 270 OS 431 DeskTop 7 Python 72 Knowledge Mathematics Formulas 8 Set 1 Logic 1 Algebra 84 Number Theory 206 Trigonometry 31 Geometry 34 Calculus 67 Engineering Tables 8 Mechanical Rigid Bodies Statics 92 Dynamics 37 Fluid 5 Control Acoustics 19 Natural Sciences Matter 1 Electric 27 Biology 1 |
Copyright © 2000-2025 Sideway . All rights reserved Disclaimers last modified on 06 September 2019