1.

Solve : Unrecognised command in config.sys and an error on line 1?

Answer»

Hi guys. Been gone a LONG time. Recently I booted up our HP PAVILION 7285 PC in the basement, and although Windows 95 loaded, and I've been able to load MS-DOS based games from Windows, including those that require the CD, I have been getting notifications at startup that tell me that there is an unrecognised COMMAND in config.sys and an error on line 1 of that file. This happened after I had removed the NOEMS line from line 2, which was for EMM386. I had everything set up properly. (As of right now, Stonekeep, an RPG for MS-DOS, is active right now and I'm building up my stats, so I can't check on the PC at this time.) There may be a spare config.sys file in the D: drive which I had copied as a spare several weeks back, having all the lines that config.sys had before. The problem could lie with Himem.sys, but I do not know for sure. Since Windows loaded fine, it can't be Himem.sys. The errors don't stop windows from loading.How about posting lines 1 thru' 3 of your config.sys file It's as it's supposed to be, but with some modifications. Due to there already being a Windows folder when I had installed Windows, (I had to put HIMEM.SYS there originally before installing Windows 95) the main Windows folder ended up automatically named "Windows.000" during the installation several months back. Despite that folder name change, I never had any issues until I had removed the NOEMS line from EMM386 in an attempt to enable expanded memory. As far as I know, there's an unchanged Config.SYS in Drive D, which is USED to house files as backup. Later on, when my game has been saved and exited, I'll check to see what happens if I copy the CONFIG.SYS from the other drive.

Line 1: DEVICE=C:\WINDOWS.000\HIMEM.SYS
Line 2: DOS=HIGH, UMB
Line 3: DEVICE=C:\WINDOWS.000\EMM386.EXE NOEMSSorry about the double post, but I have to update the situation.

I copied the CONFIG.SYS from Drive D and put it in Drive C, thus the problem was resolved at bootup. I'm no longer getting any errors. I know this because I saw the CD-ROM drive detected under MS-DOS.

EDIT: It appears that I must remember to not change or add any entries to Config.sys, as that triggers the error. I'm going to leave it as it is. This means I'm even going to avoid trying to load the MOUSE driver in DOS, and MS-DOS games will have to be run from Windows.



Discussion

No Comment Found