...and try copy it from windows folder to the config.sys file.
Um, I'm not sure what you're trying to say there, but you can't copy himem.sys to config.sys. I'm sure you mean something else.
- If you have a boot floppy, boot from that and try the following command at the A:> prompt:
copy himem.sys C:\winodows
If you get a prompt saying that himem.sys already exists, choose to overwrite the existing file.
If you don't have a boot floppy, try the following suggestions:
"To install a fresh copy of the himem.sys, you will require the Windows setup CD or a copy of the setup .cab files, specifically you will be requiring the base4.cab file. If you have a boot disk, please start the system with it, otherwise start the computer and press F8 function key to bring up the safe mode menu and select the MS Dos mode. Once in the MS Dos prompt, go to the location where the setup .cab files are and run the command "extract /a /y /e /l c:\windows base4.cab himem.sys". This will extract a fresh copy of himem.sys file to c:\windows. You can find the setup .cab files in any of the following locations:
1) If you have an OEM installation you will find the Windows 98 installation .cab file in c:\window\Options\cabs.
2) If you have taken a copy of the \win98 folder from the installation disk to any of your drives i.e. c:\win98 etc, then run the command from that location.
3) You can run the command from the Win98 directory of the installation CD.
As an optional solution, you can reinstall Windows from the installation CD.
To do this, just start the system with the win98 CD and run the setup.
When asked for the installation directory, specify the directory where your current Windows is installed (usually c:\windows).
This will install Windows on top without affecting your installed programs and settings."