![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-12 17:32 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS学习入门 & 精彩文章 (教学室) » What does "lh" mean? |
| Printable Version 14,083 / 7 |
| Floor1 zzhh612 | Posted 2007-04-05 22:32 |
| 中级用户 Posts 103 Credits 278 | |
|
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..>: |
|
| Floor2 ccwan | Posted 2007-04-05 22:50 |
| 金牌会员 Posts 1,160 Credits 2,725 From 河北廊坊 | |
|
I'm even worse than you because I've never even seen it.
|
|
| Floor3 zh159 | Posted 2007-04-05 23:00 |
| 金牌会员 Posts 1,467 Credits 3,687 | |
|
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
|
|
| Floor4 zzhh612 | Posted 2007-04-06 00:08 |
| 中级用户 Posts 103 Credits 278 | |
|
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:
PATH A:\;%RAMD%\;%RAMD%\DOS;%CDROM%:\;%PATH% XMSDSK.exe 20480 %RAMD%\ /y /t >NUL SET COMSPEC=%RAMD%:\COMMAND.COM >NUL COPY EXTRACT.EXE %RAMD%\ >NUL COPY COMMAND.COM %RAMD%\ >NUL EXTRACT.EXE /E /Y /L %RAMD%\TRS\TRS.CAB >NUL LH SMARTDRV.EXE 20480 >NUL LH CTMOUSE.EXE >NUL LH MOUSCLIP.EXE >NUL LH DOSKEY.COM >NUL LH DOSLFN.COM >NUL LH ZENO.EXE >NUL LH KILLER.EXE >NUL EXTRACT.EXE /E /Y /L %RAMD%\NTFS\NTFS.CAB >NUL %RAMD%\NTFS\NTFSDOS.EXE >NUL ........ Thanks for the answer from the person above. [ Last edited by zzhh612 on 2007-4-6 at 12:14 AM ] |
|
| Floor5 ding520 | Posted 2007-04-07 03:04 |
| 初级用户 Posts 15 Credits 29 | |
|
It is when the system boots up that it loads various drivers and programs.
|
|
| Floor6 zh159 | Posted 2007-04-07 05:55 |
| 金牌会员 Posts 1,467 Credits 3,687 | |
Originally posted by ding520 at 2007-4-6 14:04: 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 |
|
| Floor7 sunfeihu | Posted 2008-12-17 23:59 |
| 新手上路 Posts 16 Credits 27 | |
|
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 |
|
| Floor8 tongtong2009 | Posted 2009-03-08 07:44 |
| 初级用户 Posts 24 Credits 45 From 中华人民共和国 | |
|
It's really difficult. I can't understand. My English is very poor. I don't even know if I can learn DOS well.
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |