beautypg.com

Changing the config.sys file, Autoexec.bat batch files – Juniper Systems Allegro DOS Manual User Manual

Page 91

background image

Allegro DOS Owner’s Manual 91

Changing the CONFIG.SYS File

You can modify the CONFIG.SYS fi le using a text editor. If you
need to make changes or additions to the CONFIG.SYS fi le, we
recommend that you modify the existing CONFIG.SYS fi le found in
the root directory on the C: drive.

You can add command lines to your CONFIG.SYS fi le that tell the
system to automatically load a specifi ed program. If you need to
add additional device drivers or commands, add them at the end of
the existing CONFIG.SYS fi le. Nothing should be placed before the
fi rst three lines in the fi le. The lines that set up the PC Card drivers
should be left in place and unaltered in order for the PC Card to
operate properly. For more information on the CONFIG.SYS fi le,
refer to the MS-DOS Help on the Allegro or in Lynx on your PC.

AUTOEXEC.BAT Batch Files

An AUTOEXEC.BAT batch fi le or batch program is a text fi le that
contains one or more MS-DOS commands that are automatically
executed when the computer is rebooted. When you reboot the
computer, the commands are carried out as a group.

Any MS-DOS command you use at the command prompt can also
be put in a batch program. In addition, the following MS-DOS
commands are specially designed for batch programs:

Call If
Choice Pause
Echo Rem
For Shift

Goto

You can use the COMMAND /Y command to step through a
batch program line by line, and can selectively bypass or carry out
individual commands. This functionality is useful for tracking down
problems in batch fi les. For more information, see COMMAND in
the MS-DOS Help on the Allegro or in Lynx on your PC.