Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
The Config.sys is an ASCII-text file used primarily to put drivers and the like into memory; it is read after the binaries IO.SYS and MSDOS.SYS have been loaded.
Simply follow the conventions for Config.sys and customize it to your liking. It doesn't need to have anything in it at all, like with Windows. Some useful one you might want in there are:
DEVICE=C:\DOS\SETVER.exe
and
DEVICE=C:\DOS\HIMEM.SYS
to access the high memory area.
Same applies to Autoexec.bat - nothing needs to be in there at all. It's the last file to be looked at during the bootstrap process, so you can put all kinds of shell/batch commands in there.
Hope this helps a bit.

Also have a look in you harddrives c:\windows
directory and c:\dos depending how your
system is set up there may be a backup in
either of th

Sample autoex.bat
**********snip****e:\APPS\MCAFEE\SCAN.exe C:\
@IF ERRORLEVEL 1 PAUSE
SET CLASSPATH=E:\APPS\CANONC~1\PDELUXE\ADOBEC~1;e:\apps\photodelux\AdobeConnectables
@ECHO OFF
C:\SOUND144\UTILITY\AZCAL.exe
PROMPT $P$G
SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\;E:\TOOLS\UEDIT;C:\QTW\BIN;E:\APPS\VISBAT
SET MSINPUT=C:\MSINPUT
rem - By Windows Setup - LH C:\WINDOWS\COMMAND\MSCDEX.exe /D:MSCD0001 /M:20 /S
SET DIRCMD=/O
SET TEMP=C:\PBTOOLS\WINTEMP
SET WINPMT=[WINDOWS] $P$G
SET BLASTER=A220 I5 D1 H5 P330 T6
SET CTSYN=C:\WINDOWS
C:\PROGRA~1\CREATIVE\SBLIVE\DOSDRV\SBEINIT.COM
LH E:\APPS\FOLDERS\MF.exe
SET GALAXY=A220 I5 D1 K10 P530 T6
SET SOUND=C:\SOUND144
REM
REM
REM
SET LIB=C:\QTW\LIB;
SET INCLUDE=C:\QTW\INC;*********snip***
Sample config.sys
DEVICE=C:\WINDOWS\HIMEM.SYS
DOS=HIGH,UMB
DEVICE=C:\WINDOWS\EMM386.exe NOEMS I=B000-B7FF
FILESHIGH=30
BUFFERSHIGH=20
STACKSHIGH=0,0
FCBSHIGH=1
DEVICEHIGH=C:\WINDOWS\MOUSE.SYS
DEVICEHIGH=C:\PBTOOLS\CR_ATAPI.SYS /D:MSCD0001
REM Line below causes errors at boot up.
REM Required for batch files of large size.
shell=c:\commmand.com /e:1024 /p
[COMMON]
DEVICE=c:\Y2000RTC\RTC.CLK +R*********snip********
These are just samples! Some will apply and some will not.
There is a line for loading
command com."shell=c:\commmand.com /e:1024 /p". This line is for personal usage. It brings up an error message saying the file does not exist or is corrupt........during boot up. It is only usefull to me.Any how I hope these "samples" will be of use.
W.L.

The above post is for config.sys from a Windows 98/95 machine. It will not work with DOS 6.22 or earlier, which this forum is for.
Check your c:\
directory to see if you have any files labeled:
config.old
config.bak
config.001
and so forth. You may have loaded a program that saved your old config.sys and didn't properly create a new config.sys
If a config.* file exists, try renaming it to config.sys and see if it works.

If youve got windows 9x then you dont need to have the config.sys and autoexec.bat filled with anything. (windows uses its own defaults)
But if its a dos OS, then i wouldnt copy the examples upabove as most of the lines wont work.
try adding lines as you need them, ie if a program complains about memory add the
device=c:dos\himem.sys
to the config.sys

hello friend!
an advise you must know that when your config.sys and autoexec.bat became empty that means a VIRUS is on your PC
best wishes.

![]() |
dir?
|
Installing dos 6.22
|

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