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 
  programs.
  LH is a BATCH-FILE / AUTOEXEC.BAT command.
  It can also be used in command line.

Syntax:

  LH [drive][path]filename [parameters]
  LH [/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

[Main menu] [top] (Syntax) [Options] [Comments] [Examples] [See also] [File]

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.

[Main menu] [top] [Syntax] (Options) [Comments] [Examples] [See also] [File]

Comments:

  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.

[Main menu] [top] [Syntax] [Options] (Comments) [Examples] [See also] [File]

Examples:

  IN A .BAT FILE / AUTOEXEC.BAT:
    lh c:\fdos\bin\edit.exe

[Main menu] [top] [Syntax] [Options] [Comments] (Examples) [See also] [File]

See also:

  autoexec.bat
  Batch-Dateien
  config.sys
 (emm386)
 (fdxms)
 (fdxms286)
 (himem)
  himemx
  install
  installhigh
  jemm386
  jemmex
  loadhigh

[Main menu] [top] [Syntax] [Options] [Comments] [Examples] (See also) [File]

File:

  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.

[Main menu] [top] [Syntax] [Options] [Comments] [Examples] [See also] (File)


  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.