General discussion

  • Creator
    Topic
  • #2272289

    C:> at boot up in Win 98 SE

    Locked

    by jardinier ·

    This is a VERY TRIVIAL question, but it annoys the hell 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.

All Comments

  • Author
    Replies
    • #3271118

      Reply To: C:> at boot up in Win 98 SE

      by deadly ernest ·

      In reply to C:> at boot up in Win 98 SE

      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.

      • #3168071

        Reply To: C:> at boot up in Win 98 SE

        by deadly ernest ·

        In reply to Reply To: C:> at boot up in Win 98 SE

        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.

    • #3271103

      Reply To: C:> at boot up in Win 98 SE

      by jardinier ·

      In reply to C:> at boot up in Win 98 SE

      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.

    • #3143924

      Reply To: C:> at boot up in Win 98 SE

      by ontheropes ·

      In reply to C:> at boot up in Win 98 SE

      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.

    • #3143858

      Reply To: C:> at boot up in Win 98 SE

      by jardinier ·

      In reply to C:> at boot up in Win 98 SE

      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.

    • #3143816

      Reply To: C:> at boot up in Win 98 SE

      by rob mekel ·

      In reply to C:> at boot up in Win 98 SE

      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

    • #3269107

      Reply To: C:> at boot up in Win 98 SE

      by ontheropes ·

      In reply to C:> at boot up in Win 98 SE

      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.

      • #3268913

        Reply To: C:> at boot up in Win 98 SE

        by ontheropes ·

        In reply to Reply To: C:> at boot up in Win 98 SE

        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.

      • #3142469

        Reply To: C:> at boot up in Win 98 SE

        by ontheropes ·

        In reply to Reply To: C:> at boot up in Win 98 SE

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

Viewing 5 reply threads