Previous page Contents Next page
 Using your PC Card 

5.5 Configuring your PC

When the PC starts up under DOS two important files affect its configuration. These are CONFIG.SYS and AUTOEXEC.BAT. These must be in the root directory for DOS to be able to work. If these files are not found, DOS will ask you to confirm the time and date. 

CONFIG.SYS sets up the DOS operating system, by defining the data structures which determine how many files can be open, what languages can be displayed, and what device drivers are installed to access memory, CD-ROMs, etc. It is consulted by DOS when the system (in this case the PC card) starts up. 

AUTOEXEC.BAT is a standard batch file (see your DOS manual) which contains executable DOS commands. It is read by the system after CONFIG.SYS, once DOS is running. It is here that any standard programs which you always want to be run are started (for example mouse drivers, disk recovery utilities). Environment variables are also specified here. 

Setting up these files is beyond the scope of this user guide, and will generally be done for you by the installation programs of DOS, Windows etc. The only reason that you are likely to have to edit these files yourself is for installing a CD-ROM driver on some versions of DOS. Refer to your DOS manual or any book about DOS for further details.

Editing DOS text and system files

Note that DOS and RISC OS use different line feeds in text files so you must be very careful if editing DOS text files with a RISC OS editor such as !Edit. The [0D] at the end of each line is required for DOS to understand the file. DO NOT JUST TYPE THIS IN. These characters represent the control character <CR> which is hex 0D, not the four characters '[','0','D',']'. 

You should generally edit DOS files with a DOS editor. Failing that, use a RISC OS editor that can edit DOS files correctly. If you must use !Edit then copy the [0D] from another line to the end of any lines that you add.

Aleph One Ltd. 33-34
 
Previous page Contents Next page