Forum Home
Press F1
 
Thread ID: 20554 2002-06-07 18:52:00 Any DOS experts left out there? Guest (0) Press F1
Post ID Timestamp Content User
53045 2002-06-07 18:52:00 I have a problem with a Toshiba laptop. The student/owner has tried to delete the data files and the machine will no longer load Windows (3.11).

It asks for HIMEM.SYS, which is there, but obviously not in CONFIG.SYS, where it should be. Dosshell or Edit do not seem to work. How can I move HIMEM.SYS into CONFIG.SYS to get it started again?
Guest (0)
53046 2002-06-07 19:33:00 If you go to Google and type in DOS+HIMEM.SYS, I found www.sysopt.com very good, like
the following came from there.
1.) If the program requires alot of Expanded memory, and you need a disk cache, use config #1.
2.) If the program requires alot of Expanded memory, and you don't need a disk cache, use config #2.
3.) If the program requires alot of Extended memory, and you need a disk cache, use config #3.
4.) If the program requires alot of Extended memory, and you don't need a disk cache, use config #4.

(1)
device=c:\dos\himem.sys
device=c:\dos\emm386.exe RAM
dos=high,umb

Make sure you have the following lines in your autoexec.bat:
lh c:\dos\smartdrv.exe 1024

(2)
device=c:\dos\himem.sys
device=c:\dos\emm386.exe RAM
dos=high,umb

(3)
device=c:\dos\himem.sys
device=c:\dos\emm386.exe RAM NOEMS
dos=high,umb

Also, Make sure you have the following lines in your autoexec.bat:
lh c:\dos\smartdrv.exe 1024

(4)
device=c:\dos\himem.sys
device=c:\dos\emm386.exe RAM NOEMS
dos=high,umb
Guest (0)
53047 2002-06-07 20:42:00 Sigh. When will people learn that a 200 byte file called autoexec.bat or config.sys isn't going to free up much space if you delete it?

Any chance that config.bak is sitting around somewhere?

Run Memmaker on it, that will do the business (good old memmaker, at least I think that was the name. Brain cells that stored that info are well over the seven year use-by date now.)

robo.
Guest (0)
53048 2002-06-07 23:35:00 Ernestine,

Does config.sys actually exist, or do you need to create a new one?

To create a new copy of config.sys, follow these steps.

type 'copy con:config.sys' and press enter. You have now just created a new empty file called config.sys, and you're in edit mode, so anything you type now will be included in the config.sys file.

type in 'device=c:\windows\himem.sys' followed by any other options you want to include from Eric's earlier post. Press Enter to move to the next line, and add anything else that should be in config.sys.

To finish editing, press 'Ctrl+Z' which will display a ^Z on screen, and it'll save the file and bring you back to the C:\ prompt. (I hope it's Ctrl+Z you need to press - it's been a while!)

That should do it for you. If config.sys already exists, do this before all those steps:

type 'type config.sys' - this will display the contents of your existing config.sys file... write it all down. Now when you edit your config.sys file (using 'copy con:config.sys') you need to include all this as well, but AFTER the 'device=c:\windows\himem.sys' line; then complete all the steps as listed above. Just press enter to move to the next line while editing the file.

You can use the same procedure to edit/create a new autoexec.bat file if needed as well.

HTH

Mike.
Guest (0)
1