Computing.Net > Forums > Windows 95/98 > config.sys messed up

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

config.sys messed up

Reply to Message Icon

Original Message
Name: densch99
Date: December 27, 2006 at 13:31:37 Pacific
Subject: config.sys messed up
OS: win98
CPU/Ram: unnkwn
Comment:

While attempting to load a game my 13 yr old searched, found and clicked a line pertaining to EMS memory. Now when booting the computer, win98 reverts to DOS and shows as follows

******************************************
** Win 98 MS-DOS Mode **
** Expanded Memory (EMS) Support **
** **
** Type EXIT to return to Windows **
******************************************

If I type EXIT the computer reboots and windows reverts to DOS again.

I have pondered the problem and started Win98 in safe mode. I run sysedit and find lots of info in my autoexec.bat All lines NOT preceded by REM are as follows

@ECHO OFF
SET TMP=C:\windows\TEMP
SET TEMP=C:\windows\TEMP
SET PROMPT=MS.DOS mode $p$g
SET WINBOOTDIR=C:\WINDOWS;C:\WINDOWS\COMMAND
SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND

then after a number of lines preceded by'REM' I find

CLS
ECHO***************************************
ECHO** Win 98 MS-DOS Mode **
ECHO** Expanded Memory (EMS) Support **
ECHO** **
ECHO** Type EXIT to return to Windows **
ECHO***************************************

THEN AFTER A NUMBER OF LINES PRECEDED BY REM (ONE OF WHICH SAYS THE FOLLOWING WAS ADDED BY WINDOWS AND NOT TO REMOVE) IT READS

C:
CD C:\WINDOWS
CALL C:\WINDOWS\COMMAND.COM
C:\WINDOWS\WIN.COM/WX

My intuition encourages me to type REM at the front of the
CALL C:\WINDOWS\COMMAND.COM line


Would this allow the computer to boot to windows? My intuition has dug me some pretty deep holes before

I haven't a clue what I'm doing ... really.
Is anyone there?

densch99


Report Offensive Message For Removal


Response Number 1
Name: DAVEINCAPS
Date: December 27, 2006 at 14:50:19 Pacific
Reply:

Sometimes sofware, particularly games, will rename the config.sys and autoexec.bat files and create their own versions. When the software is exited normally the new versions are replaced with the original ones. However, if the software is not exited normally you get stuck with the new versions. Try this: Start up the computer. Before the OS starts to load, start tapping F8. A menu should come up. Choose 'safe mode command prompt only'. At the c:\> prompt type:

ren c:\autoexec.bat autoexec.xxx and enter. Then
ren c:\autoexec.wos autoexec.bat and enter. Then
ren c:\config.sys config.xxx and enter. Then
ren c:\config.wos config.sys and enter.

Then reboot normally.

That will manually make the change. Post back if you get a 'file not found' message.


Report Offensive Follow Up For Removal

Response Number 2
Name: densch99
Date: December 27, 2006 at 15:13:05 Pacific
Reply:

Thanks for responding DAVE,

As you suggest the message after entering line # 2 was
"file not found c:\autoexec.wos"

any suggestions?

densch99


Report Offensive Follow Up For Removal

Response Number 3
Name: Derek
Date: December 27, 2006 at 15:32:26 Pacific
Reply:

If you are just anxious to get your machine to boot up normally then simply disable them by renaming them like this:

ren c:\autoexec.bat autoexec.old

ren c:\config.sys config.old

They are only needed for DOS games (or other DOS programs). Windows doesn't need them but it won't boot if there is problematic info inside them. They are not necessary for fault finding using DOS.

The contents of the ".old" versions can still be looked at using NotePad to see if there is anything you wish to retain and they can always be renamed back from Windows if necessary. A blank autoexec.bat might arrive if you do this but it is of no consequence.


DerekW


Report Offensive Follow Up For Removal

Response Number 4
Name: densch99
Date: December 27, 2006 at 19:02:05 Pacific
Reply:

So ... in other words, Config.sys and autoexec.bat are only needed to operate in Dos? ... does this mean I can monkey around and not be afraid of losing w98 in safe mode? ...where I can always change back whatevcer I tweaked? What a great forum !!!!
Thanks for your help ...love it!
densch99


Report Offensive Follow Up For Removal

Response Number 5
Name: Derek
Date: December 27, 2006 at 19:25:41 Pacific
Reply:

Yep, and they are not necessary for doing tweaks/deletions etc in DOS - only for programs (usually games).

Sure, as you can get to Safe Mode you can rename them both to .old or whatever from there (without bothering with those DOS commands I gave you) and they will be disabled. With luck Windows will then start normally next boot, which is a lot easier on your eyballs.

You can then take your time deciding what lines, if any, would be useful to you.

DerekW


Report Offensive Follow Up For Removal


Response Number 6
Name: densch99
Date: December 27, 2006 at 19:45:55 Pacific
Reply:

Fabulous ... I thank you ... and my 13 year old son will think me a computer genius! ....
like I said ..a great forum
Thanks Again
and
Happy Holidays!

densch99


Report Offensive Follow Up For Removal

Response Number 7
Name: Derek
Date: December 27, 2006 at 20:14:42 Pacific
Reply:

Fine, but you might wish to keep the oldies kicking around (they are tiny and now do nothing) just in case some irresistable DOS game comes along and you find you need some of the lines.

Or maybe you just won't allow that sort of thing LOL...

DerekW


Report Offensive Follow Up For Removal

Response Number 8
Name: DAVEINCAPS
Date: December 27, 2006 at 20:21:57 Pacific
Reply:

You may want to do a search for config.*
and autoexec.*. Any that show up in the root
directory-- C:\ --could be candidates for the original config.sys and autoexec.bat. Config.wos and autoexec.wos are the usual way they're renamed but the particular application may have named them something else.

But as Derek said, they're not absolutely necessary to run 98.



Report Offensive Follow Up For Removal

Response Number 9
Name: JimPIM
Date: December 29, 2006 at 03:34:52 Pacific
Reply:

Hi, Everybody is correct about not needing Config.sys and Autoexec.Bat. Quickest way around what you have is to rename the files. Win will ignore them and you will still have them in case you decide to try to repair them. Win wont miss them at all.

Good Luck, Jim


Report Offensive Follow Up For Removal

Response Number 10
Name: Derek
Date: December 29, 2006 at 09:18:45 Pacific
Reply:

JimPIM

Which is "exactly" what has already been said and done, so why is extra endorsement required?

DerekW


Report Offensive Follow Up For Removal

Response Number 11
Name: jboy
Date: December 29, 2006 at 14:47:34 Pacific
Reply:

Apparently, no post is complete until it's been Pimmed.

If you have nothing to say, try saying nothing - you guys in the "Goodluck Gang" need to go and start a support group (but not here)

I'm not one of those who think Bill Gates is the devil. I simply suspect that if Microsoft ever met up with the devil, it wouldn't need an interpreter


Report Offensive Follow Up For Removal






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 95/98 Forum Home



Results for: config.sys messed up

Lite-On Optical Drives messing up on 98
    Summary: I just got a 16x/48x & a 40x/12x/48x DVD/burner from Lite On and I plugged them into windows xp and everything worked flawlessly. but xp crashed (completely different issue) and I couldn't get it ba...
www.computing.net/answers/windows-95/liteon-optical-drives-messing-up-on-98/113769.html

autoexec.bat/config.sys problems
    Summary: Trying to boot from a CD with a version of UNIX on it on a laptop from work. Think I need to alter the autoexec or config files but don't know what I need to do. What I'm doing is: 1) Having got into ...
www.computing.net/answers/windows-95/autoexecbatconfigsys-problems/90715.html

Problem with CONFIG.SYS
    Summary: I am having a problem that is probably not that complicated to fix but I just haven't been able to on my own. I can not get into Windows, only DOS, so please keep this in mind when reading my p...
www.computing.net/answers/windows-95/problem-with-configsys/125350.html








Which MP3 player do you have?

iPod/iPhone
Zune
Something Else
None


View Results

Poll Finishes Today.
Discuss in The Lounge
Poll History






Data Recovery Software