General discussion

Locked

C:> at boot up in Win 98 SE

By jardinier ·
This is a VERY TRIVIAL question, but it annoys the **** out of me.

Very occasionally on installation a piece of software will install a command line (e.g. SET PATH = C:\ENCYCLOPEDIA etc) in autoexec.bat on Win 98 SE.

Well it is easy enough to delete the line from autoexec.bat, but forever thereafter one sees, say:

C:>
C:>
C:>

During boot up. Like I said this is a very trivial matter but I would like to know if and how it is possible to delete these C:> prompts.

This conversation is currently closed to new comments.

9 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by Deadly Ernest In reply to C:> at boot up in Win 98 ...

Usually when the system changes the AUTOEXEC.BAT it creates a backup copy of what it was like before the change - often this is called AUTOEXEC.BAK, but sometimes it has a different extension (with part of the program name) to help identify which program it was that made the change, in such a case with this it could be something like AUTOEXEC.ENC.

All you need do is locate the proper back up copy and delete the AUTOEXEC.BAT and rename the backup copy as AUTOEXEC.BAT then reboot and it will be as before.

Collapse -

by Deadly Ernest In reply to

In Win 9x the Autoexec.bat is NOT needed or used as a general rule. This is because the WIN.INI and WIN.SYS files do for the new Windows setup environment settings what the AUTOXEC.BAT did in the DOS setup. However, they are sometimes called upon when going into the DOS interface, but very rarely now.

Every file that you have that says AUTOEXEC.xxx is a bak up copy created by some program or another. They can easily be read by opening them in NotePad.

Hey when are you going to rate the answers mate. Even a reject is better than nought.

Collapse -

by jardinier In reply to C:> at boot up in Win 98 ...

Thanks Ernie, I am sure that is the answer I am looking for.

In File Manager I can see the following files:

autoexec.bat -- which is an executable file.
autoexec.dos
autoexec.gtk
autoexec.nu4
autoexec.syd

Incidentally I am unsure of the function of autoexec.bat in Win 95/98

When I run sysedit, it normally comes up blank -- apart from the nuisance lines referred to in my question.

Collapse -

by OnTheRopes In reply to C:> at boot up in Win 98 ...

You can type REM at the beginning of each line that you don't want to see. If you don't want to see any batchfile commands while they're being executed you can type "echo off" on the top line. The commands will still run, you just won't see them.

Collapse -

by jardinier In reply to C:> at boot up in Win 98 ...

To NeverBusted

I am fully aware of "REM" and also ";" which serves the same purpose.

However the point is that there is now NOTHING in the autoexec window because I have already deleted the command line.

Collapse -

by rob mekel In reply to C:> at boot up in Win 98 ...

In your addition to the answer to Ernest.

Within W95/98 you could run dos applications in a dos-box. That is when the system needs the autoexec.bat or even the config.sys. This to let the programs know how to deal with the pc / to set the dos environment for the application.

Rob

Collapse -

by OnTheRopes In reply to C:> at boot up in Win 98 ...

Click Run, type msconfig.exe in the Open box, and then click OK.

On the General tab, click Selective Startup, and then click to clear: Process Autoexec.bat File

Reboot - If it boots without the 3 prompts choose the checkbox not to show selective startup and click ok. If it still shows the 3 prompts reconfigure Selective Startup as it was and please comment here.

Collapse -

by OnTheRopes In reply to

An alternative to the above for a quick check to see if either autoexec.bat or config.sys cause the extra prompts would be to boot into Safe Mode as neither of those files run.

Collapse -

by OnTheRopes In reply to

If the 3 prompts still appear after disabling autoexec.bat look at the win.ini run= and load= sections for invalid entries

Back to Windows Forum
9 total posts (Page 1 of 1)  

Related Discussions

Related Forums