Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
Credits 278 Posts 103 Joined 2006-10-21 21:08 19-year member UID 67562 Gender Male
Status Offline
Often see such batch processing statements:
lh c:\dos\doskey.com
But don't know what the meaning of lh in front is. Please have an expert explain it, okay?
Although the question is a bit naive, I can't pretend to know if I don't understand..>:
Credits 3,687 Posts 1,467 Joined 2005-08-08 12:00 21-year member UID 44210
Status Offline
lh is a command in DOS (CMD in XP is invalid) to add a program to the upper memory, thus saving the basic 640k memory space; however, this command is only effective after loading EMM386.exe and HIMEM.sys, and not all programs are effective
Credits 278 Posts 103 Joined 2006-10-21 21:08 19-year member UID 67562 Gender Male
Status Offline
Maybe the explanation from the person above is right. I often see this but don't understand it, so the impression is relatively deep. For example, the following is a part of AUTOEXEC.BAT:
Credits 3,687 Posts 1,467 Joined 2005-08-08 12:00 21-year member UID 44210
Status Offline
Originally posted by ding520 at 2007-4-6 14:04:
It is when the system boots to load various drivers and programs.
When loading various drivers and programs, lh is not necessary.
The explanation found online is the same as what I said on the 3rd floor.
lh/loadhigh Load the program into the upper memory
This command is generally used in autoexec.bat. It will be useful when some software requires a large amount of basic memory.
lh
Load the program into the upper memory. When using this command, the following two statements need to be in the config.sys file. device=emm386.exe dos=umb
Credits 27 Posts 16 Joined 2007-12-17 17:49 18-year member UID 105949 Gender Male
Status Offline
lh/loadhigh Load the resident program into the upper memory! Generally used in autoexec.bat. When some software requires a large amount of conventional memory, we call it! But before using it, the config.sys configuration file must manage the upper memory umb and the upper memory area hma. The emm386.exe program for managing the upper memory needs to be loaded.
lh [program] /l:area number Load the program into the specified umb area
lh /s Generally dedicated by memmaker