General discussion

Locked

lh

By phdj2000 ·
I've got a machine here with a batch file that issuse commands like

LH c:\net\umb.com

It crashes and gives messages saying thay lh is not recognised as a proper internal or external command.
I thought lh was a valid dos command for loading things into higher memory.

I'm running xp. Are there any settings or anything that could have been changed that would stop the machine recognising the lh command?

Phil

This conversation is currently closed to new comments.

12 total posts (Page 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

lh

by kernow_boy In reply to lh

Yes LH is short hand for the load High command.

Have you actually configured you memory with either himem.sys and/or emms memory managers.

Hope this helps

Collapse -

lh

by phdj2000 In reply to lh

Poster rated this answer

Collapse -

lh

by Ann777 In reply to lh

LH is short for load high... but you must also have :

dos=high,umb

and a path to your dos directory in order for this to work.

I'm not sure that any dos commands will work in WinXP unless you use the "Windows Compatibility Mode" functions included with XP.

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q301911

Please remove any embedded spaces before articles numbers when pasting into your browser.

Collapse -

lh

by Ann777 In reply to lh

See also:

http://www.annoyances.org/exec/forum/winxp/t1032605648

http://support.microsoft.com/default.aspx?scid=KB;en-us;q314106

And this specifically indicates that it's possible to use LH in WinXP:
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/winxppro/proddocs/loadhigh.asp

Collapse -

lh

by phdj2000 In reply to lh

Poster rated this answer

Collapse -

lh

by Grey_Woolf In reply to lh

Windows-XP doesn't have any of the "DOS' commands.

If you wish to use the application called via the batch file I suggest using Compatibilty mode.

There are two methods:

1] Compatibility tab-
Right click on the application's icon.
Select Properites -> "Compatibility" tab.
Determine the Windows version the app will run under.

2] Compatibilty Wizard-
From the "Start" button select "All Programs", then "Accessories", then the "Compatibilty Wizard." Follow the prompts.

Collapse -

lh

by phdj2000 In reply to lh

Poster rated this answer

Collapse -

lh

by Bob W In reply to lh

That was true in the old DOS days. We had to edit command lines in autoexec.bat and config sys to load programs into memory and install hardware and device drivers.

The newer operating systems do not need these commands and they will generate errors. The only command line I have in autoexec.bat is for my sound card.

XP should have removed that line when you installed it. If you did this manually get rid of the line using a text editor.

Quick method
Double click My computer> Double click C:> Rt click autoexec.bat select edit from the dialogue box and remove any reference to LH and select file>save. Reboot your PC. If you put that command anywhere else it will have to removed

Collapse -

lh

by phdj2000 In reply to lh

Poster rated this answer

Collapse -

lh

by opatzg In reply to lh

One other quick thing to try, copy command.com from wherever it is ack to c and that will help some DOS based programs work(XP does not put it there) Otherwise the himem.sys, emm386.exe and the dos=high,umb lines are all necessary before you start loading things high, I don't know if those come with xp. Good luck!

Back to Desktop Forum
12 total posts (Page 1 of 2)   01 | 02   Next

Related Discussions

Related Forums