Share via

how do i access AUTOEXEC.bat and CONFIG.SYS ?

Anonymous
2013-01-16T15:51:14+00:00

this computer came with windows 98 second edition, i upgraded it to windows xp pro, run great for years, but got a lot of junk in it, so i decided to reload windows 98, when windows started to load, got message not enough memory to run windows, close some programs in AUTOEXEC.bat and CONFIG.sys, i don't know to get to those files, i tried DOS, but DOS won't bring those 2 files up

Windows for home | Other | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

6 answers

Sort by: Most helpful
  1. Anonymous
    2013-01-16T17:20:27+00:00

    Chexk the root of your boot drive to see if AUTOEXEC.BAT and CONFDIG.SYS exist. If they do, compare them to the examples below.

    Config.sys

    DEVICE=C:\Windows\HIMEM.SYS

    DOS=HIGH,UMB

    DEVICE=C:\Windows\EMM386.EXE NOEMS

    FILES=30

    STACKS=0,0

    BUFFERS=20

    Autoexec.bat

    @echo off

    SET PATH=C:\Windows;C:\

    LH C:\Windows\COMMAND\MSCDEX.EXE /D:123

    LH C:\MOUSE\MOUSE.EXE

    C:\DOS\SMARTDRV.EXE /X

    FILES=30

    STACKS=0,0

    BUFFERS=20

    Of course,neither CONFIG.SYS nor AUTOEXEC.BAT appear in the file.

    If either or both are missing, create as needed and save to the root directory. If you want Windows to start immediately after these files are processed, add a line at the bottom of AUTOEXEC,BAT

    In the line "LH C:\Windows\COMMAND\MSCDEX.EXE /D:123",

    D: is the drive letter of the CD/DVD and C:\Windows.....  is the path to its device driver. Modify as necessary for your unit.

    Change the mouse and SMARTDRV lines to match the directories for the files on the system.

    If you want Windows to start immediately after processing these files, add a line to AUTOEXEC.BAT

    Win

    Resave AUTOEXEC.BAT.

    Final note:

    These files work for most systems. If any of the lines fail, adjustments are necessary. In particular, the LH will work only is there is enough memory space created by HIMEM.SYS.

    =========

    4 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2013-01-16T18:35:35+00:00

    Try booting to DOS. Then type

    DIR a*.*

    to check for AUTOEXEC,BAT

    and then

    DIR c*.*

    to check for CONFIG.SYS

    If they do not exist, use the DOS editor to create and save the files under the appropriate names. Then reboot.

    Depending on DOS version,

    EDLIN.EXE

    or EDIT.EXE

    might be available.

    to use, E.G,

    EDIT config.sys

    http://technet.microsoft.com/en-us/library/bb490632.aspx

    EDIT.EXE is part of DOS 5.0 and above. Much easier to use than EDLIN.

    Tom Ferguson

    3 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2013-01-16T17:10:20+00:00

    xp was a upgrade only

    3 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2013-01-16T17:46:47+00:00

    i only have DOS to work with, neither AUTOEXEC.BAT or CONFIG. SYS will come up, says bad command or file name

    2 people found this answer helpful.
    0 comments No comments
  5. Brian Tillman [Outlook MVP 2007-2019] 25,880 Reputation points Volunteer Moderator
    2013-01-16T16:55:54+00:00

    In Windows 98, those files are text files in the root of your C drive.

    Why did you reload Windows 98 and not Windows XP?

    2 people found this answer helpful.
    0 comments No comments