CONFIG.SYS and AUTOEXEC.BAT

For Windows 95, both the content and method have changed for handling CONFIG.SYS and AUTOEXEC.BAT during system startup. Windows 95 automatically loads drivers and sets defaults by using IO.SYS, the Registry, and other mechanisms, rather than CONFIG.SYS and AUTOEXEC.BAT.

However, computers that require certain real-mode drivers or TSRs will continue to require that software be loaded from these configuration files. Also, CONFIG.SYS and AUTOEXEC.BAT might be required to enable certain software options. However, some options, such as long command lines, can also be enabled by using the COMMAND.COM program properties, as shown in the following illustration.

CONFIG.SYS Processing

CONFIG.SYS defaults are implemented by IO.SYS, as described in the previous section. However, CONFIG.SYS can contain application-specific entries in addition to information stored in IO.SYS. These are processed in the sequence they are listed. After the base CONFIG.SYS file has been read, all devices are loaded, and COMMAND.COM is running.

Windows 95 loads memory managers supplied by other vendors if they are present in CONFIG.SYS; however, some might cause errors. Similarly, Windows 95 allows the use of command shells from other vendors, but, for example, long filenames are disabled, which might also indicate that other problems can occur using these command shells.

CONFIG.SYS Changes for Windows 95

Windows 95 has predefined settings built in for most common CONFIG.SYS settings, so Windows 95 Setup removes many of these lines (such as settings for files, buffers, and stacks) if they are equivalent to the default values, by using REM to comment out the line.

Tips for Editing CONFIG.SYS

If you edit CONFIG.SYS in Windows 95, observe the following basic guidelines:

The following tables describe the changes that Setup makes to CONFIG.SYS.

Device Entries Deleted from CONFIG.SYS if Found

cmd640x.sys
ifshlp.sys
fastopen

fastopen.exe
rambios.sys
share.exe

share.com
share
smartdrv.sys

smartdrv.exe


Lines Removed from CONFIG.SYS for Non – MS-DOS Operating Systems

delwatch.exe
delpurge.exe
diskmap.exe
diskopt.exe
dpms.exe
emmxma.sys

hidos.sys
lock.exe
login.exe
memmax.exe
nwcache.exe
password.exe

pckwik.sys
rendir.exe
script.exe
superpck.exe
taskmax.exe
taskmgr.exe

touch.exe
vdisk.sys
xdel.exe
xdir.exe


Miscellaneous Lines Removed from CONFIG.SYS

biling.sys
country
cpqcm.sys
display.sys
dos-up.sys
dosdata.sys
doshost.exe
driver.sys
dwcfgmg.sys
ega.sys
extrados.max
isl850.sys
isl861.sys

island.sys
jdisp.sys
jfont.sys
jkeyb.sys
kkcfunc.sys
kkfunc.sys
memdrv.exe
mirror
mirror.com
mirror.exe
msime.sys
msimek.sys
nav.drv

nav_.sys
navtsr.exe
nemm.dos
nfs-ndis.sys
pcnfs.sys
pcshel.exe
pcshell
protman.sys
rambios.sys
redirect.sys
sockdrv.sys
st-dbl.sys
st-dspc.sys

tcpdrv.dos
ubxps.dos
undelete.exe
vaccine.exe
vdefend.com
vdefend.sys
virstop.exe
vsafe.com
vsafe.sys
vwatch.com
wbide
workgrp.sys


Lines Removed from CONFIG.SYS That Start Disk Caches

cache-at.sys

Golden Bow Systems software

cacheclk.exe

cache-em.sys

Golden Bow Systems software

cache.exe

Disk cache utility

faste.exe

fastx.exe

fast512.sys

flash.exe

Flash disk cache utility

hyper286.exe

Hyper disk cache utility

hyper386.exe

Shareware disk cache

hyperdkc.exe

Hyper disk cache utility

hyperdke.exe

Hyper disk cache utility

hyperdkx.exe

Hyper disk cache utility

ibmcache.sys

icache.sys

l.com

Lightning disk cache

mcache.sys

Paul Mace utilities

ncache.exe

Norton Utilities® disk cache utility

pc-cache.com

PC Tools™ disk cache utility

pckkey.exe

MultiSoft Super PC-Kwik Windows driver

pckscrn.exe

MultiSoft Super PC-Kwik Windows driver

pc-kwik.exe

PC-Kwik disk cache utility

pckwin.sys

Multisoft Super PC-Kwik Windows driver

poweron.bat

Batch file that turns on Super PC-Kwik

qcache.exe

386MAX® disk cache utility

qcache.win

386MAX/BlueMAX™ disk cache utility

scpcdext.exe

Norton CD-ROM Cache

scplus.exe

SpeedCache for disks and CD-ROM

sdcdext.exe

Norton CD-ROM Cache

speedrv.exe

Norton Speed Drive

super.exe

Super PC-Kwik

superon.bat

Batch file that turns on Super PC-Kwik

superpck.exe

Multisoft Super PC-Kwik disk cache

zcache.sys

Zenith Data Systems OEM disk cache from DOS 3.3 and 4.01


Lines Removed from CONFIG.SYS for Previous Versions of OEM-DOS

astcache.sys

AST® 3.30

cache.sys

COMPAQ® 3.20, Dell® 3.30

cacher.sys

AST 3.30, Olivetti® 3.30

cemm.exe

MS-DOS 3.20, 3.21, 3.30, 3.31, 4.00

cemmp.exe

MS-DOS 3.20, 3.21, 3.30, 3.31, 4.00, COMPAQ 5.00

enhdisk.sys

COMPAQ 3.20, 3.31, 4.00

emmdrv.sys

NCR® 3.30

fastdisk.sys

AST 3.30

hardrive.sys

HP® 3.20, 3.30, 4.00

hpdcache.sys

HP 4.0

kboard.sys

Toshiba® 3.20

mlpart.sys

Tandy® 3.20, 3.30

olicache.sys

Olivetti 3.30

ramboost.exe

IBM 6.3

shelldrv.sys

NCR 3.30

spooler.sys

Tandy 3.20, 3.30

xdisk.sys

Unisys® 3.20

xma2ems.sys

MS-DOS 4.00

xmaem.sys

MS-DOS 4.00

zspool.sys

Zenith Data Systems 3.20, 3.21


AUTOEXEC.BAT Processing

AUTOEXEC.BAT is not required for Windows 95, but it is included for compatibility purposes. If the computer has an AUTOEXEC.BAT file, each line is processed in sequence during system startup. AUTOEXEC.BAT can contain additional application-specific entries that are run in the sequence they are listed.

Windows 95 passes the initial environment to COMMAND.COM with the correct Windows and Windows COMMAND directories already in the path and with the environment variables PROMPT, TMP, and TEMP already set. (TEMP= and TMP= indicate locations for temporary directories; both are specified for compatibility reasons.)

The following AUTOEXEC.BAT commands have equivalent default settings created in IO.SYS for Windows 95.

AUTOEXEC.BAT Equivalents for Windows 95 IO.SYS Default Settings

Command

Meaning

net start

Loads the real-mode network components and validates the binding. Any errors received are placed in the NDISLOG.TXT file. (SYSINIT or COMMAND.COM performs the necessary net start command.)

set path

Sets the path as specified.


The default Windows 95 environment includes the following:


tmp=c:\windows\temp
temp=c:\windows\temp
prompt=$p$g
path=c:\windows;c:\windows\command
comspec=c:\windows\command\command.com

AUTOEXEC.BAT Changes for Windows 95

Windows 95 Setup makes the following basic changes to AUTOEXEC.BAT:

For diskless workstations, if the TEMP and TMP environment variables are not set, Windows 95 Setup creates a TEMP directory in the home directory (which can be on the local hard disk or on the network), and adds set tmp= and set temp= entries in AUTOEXEC.BAT that point to the new directory.

Tips for Editing AUTOEXEC.BAT in Windows 95

If you edit AUTOEXEC.BAT, observe the following basic guidelines:

The following tables describe changes that Setup makes to AUTOEXEC.BAT. For entries that are removed, Setup uses rem to comment out the line.

Commands Removed from AUTOEXEC.BAT

dosshell
fastopen

setcfg
share

UnSet=comspec
win

=ascsi


Commands Removed from AUTOEXEC.BAT for Non – MS-DOS Operating Systems

delpurge
delq
delwatch
diskmap
diskopt

dpms
eraq
lock
login
memmax

nwcache
password
ramboost
rendir
script

taskmax
taskmgr
touch
xdel
xdir


Miscellaneous Lines Removed from AUTOEXEC.BAT

3C503ban
3C507ban
3C523ban
3C603ban
6510ban
8023ban
acinfo
arcban
arcmcban
asyncban
attstban
call
csiban
dblspace,1
dellmenu,1
diag5210
diag9210
diagarc
diage503
diage523
diage603
diagethr

diagintr
diagipa
diagiso
diagomni
diagpcnt
diagpro4
diagtokn
diagungr
diagvlan
diagwd
dnr
doshost
drvspace,1
emsbfr
etherban
expban
hughsban
i92ban
intelban
interban
intr2ban
ipaban

irmban
isoban
mirror
navtsr.exe
ndarcban
nddgban
neban
net
netbind
netbind
nicmcban
nmtsr
oliban
omniban
pcnetban
pcshell
pro16ban
pro4ban
proban
probanmc
redirect
rin

rinAsync
script
snban
sockets
tcptsr
tinyrfc
tokbanmc
toknban
tokuiban
trban
ubniuban
umb
undelete,1
ungerban
vaccine
vdefend
virstop.exe
vlanban
vsafe.com
vwatch.com
wbide
wdban


Lines Removed from AUTOEXEC.BAT That Start Disk Caches

Command line

Disk cache

cache-at

Golden Bow Systems software

cacheclk

Helix Multimedia Cloaking version 1.0

cache-em

Golden Bow Systems software

cache

fast

faste

fastx

fast512

flash

Flash disk cache utility

hyper286

Hyper disk cache utility

hyper386

Shareware disk cache

hyperdkc

Hyper disk cache utility

hyperdke

Hyper disk cache utility

hyperdkx

Hyper disk cache utility

ibmcache

icache

l

Lightning disk cache

mcache

Paul Mace utilities

ncache

Norton Utilities disk cache utility

ncache2

Norton Utilities disk cache utility

pc-cache

PC Tools disk cache utility

pckkey

Multisoft Super PC-Kwik Windows driver

pckscrn

Multisoft Super PC-Kwik Windows driver

pc-kwik

PC-Kwik disk cache utility

pckwin

Multisoft Super PC-Kwik Windows driver

poweron.bat,1

Super PC-Kwik

qcache

386MAX disk cache utility

scpcdext

Norton CD-ROM cache

scplus

SpeedCache for disks and CD-ROM

sdcdext

Norton CD-ROM cache

smartdrv

Microsoft SMARTDrive disk utility

speedrv

Norton Speed Drive

super

Super PC-Kwik

superon

Batch file that turns on Super PC-Kwik

superpck

Multisoft Super PC-Kwik disk cache

zcache

Zenith Data Systems OEM from DOS 3.3 and 4.01