Basic setup for Config.sys
|
 |
|
DEVICE=C:\WINDOWS\HIMEM.SYS
DEVICE=C:\WINDOWS\EMM386.EXE NOEMS
DOS=HIGH,UMB
FILES = 100
BUFFERS=20
Any thing that you add after this is up to you and what you have on your computer.
Files can be 50 if you do not work with any database programs.
Buffers can be (for most PCs ) between 20 - 30. MS-DOS uses the memory reserved
for each disk buffer to hold data during read and write operations. If you plan to create
many subdirectories, (which most of us do) between 20 - 30 is best. Be careful each buffer
requires 532 bytes of memory.
The NOEMS is for providing access to the upper memory area but prevents access to
expanded memory. Good for new programs may be a conflict for very old dos programs.
The UMB at the end of the DOS=HIGH command is for maintaining a link between
conventional memory and the upper memory area.
If you add additional devices to the config.sys file make sure you use the DEVICEHIGH
command to move the devices to upper memory to keep your conventional memory as free as
possible.
Example: DEVICEHIGH=C:\DEV\ATAPI_CD.SYS /D:MSCD000 /I:0
This is a driver for a CDROM drive. Don't us it it is only an example.
Basic setup for Autoexec.bat
@ECHO OFF
PATH=C:\DOS;C:\WINDOWS
PROMPT $P$G
WIN
In the autoexec.bat file you really dont need anything but the command WIN to
start windows.
However; again depending on what you have on your computer you probably should have
PATH so that some of your programs can find their extra parts.
PROMPT is also nice with you come out to the DOS prompt and you would like to know
where you are. As in subdirectories and you move from place to place.
The key in the autoexec.bat is if you add any additional programs like the CD-ROM
program (MSCDEX.EXE, OR MOUSE.EXE, etc.) you should load it high. You do this by using the
LOADHIGH or LH command in front of the file.
Example: LH MSCDEX.EXE
This is the MSDOS program to run your CDROM driver.
Dont forget to place a space between LH and MSCDEX.EXE
The LH command works just like the DEVICEHIGH command it moves the program to high
memory for you to keep your conventional memory as free as possible.
Anything else would be just for your PC.
Enjoy DOS : - )

|