Monday, December 22, 2014

Gateway 2000 P5-100: Saving important DOS system files

The Gateway 2000 P5-100 has a pre-installed version of Microsoft DOS 6. There are three files I would like to copy for safe keeping. They are:

CONFIG.SYS
AUTOEXEC.BAT
OAKCDROM.SYS

The  CONFIG.SYS is a text file that contains commands that configure your computer's hardware components (memory, keyboard, mouse, printer and so on) so MS-DOS  and your applications can use them. When MS-DOS starts, it carries out the commands in your CONFIG.SYS file first.

The AUTOEXEC.BAT file is a batch program that MS-DOS runs immediately after carrying out the commands in your CONFIG.SYS file. Your AUTOEXEC.BAT file can contain any commands you want carried out when you start your system--for example, commands that define the port your printer is connected to, clear your screen of startup messages, or run your favorite menu program.

OAKCDROM.SYS is a generic CD-ROM driver that will work with the majority of all IDE CD-ROM drives. It may be useful to keep this copy.

The computer has a functioning 3.5 floppy drive, so I'll be saving these files on a 1.44MB diskette. In order to do this, navigating in DOS and using some basic commands will be necessary.

First, let's look at the contents on the hard drive C:\   This can be done by typing DIR at the C: prompt and the contents are as seen in this screenshot:


To save the files on the floppy, type  COPY CONFIG.SYS A:  
and then repeat with COPY AUTOEXEC.BAT A:

To copy the CD-ROM driver, you will have to open the MS-DOS directory (this is where the driver is located). To do this, type
CD\DOS (lower case works as well, such as cd\dos). The prompt will confirm by appearing as:
C:\DOS>_

Now you can copy the file by typing copy oakcdrom.sys a:

To return to the C directory, type cd\ after the C:\DOS>_  prompt.



Now that the files are saved to disk, let's look at the contents of the CONFIG.SYS and 
AUTOEXEC.BAT with a text viewer on a modern PC.

It's quite possible, you may not see anything except the OAKCDROM.SYS file. This is because WINDOWS is generally set up to hide important system files. To show these files, you must go to Folder Options and deselect Hide protected operating system files (Recommended). This will give you access to the system files on the disk.

To view the system files, open a general text editor and change the file setting to All Files.
Starting with CONFIG.SYS, the contents are:

DEVICE=C:\DOS\SETVER.EXE
DEVICE=C:\DOS\OAKCDROM.SYS /D:MSCD01
DEVICE=C:\DOS\HIMEM.SYS
DEVICE=C:\CTCM\CTCM.EXE
DOS=HIGH
FILES=30
STACKS=9,256

The contents of AUTOEXEC.BAT are:

SET CTCM=C:\CTCM
C:\CTCM\CTCU /S
C:\DOS\SMARTDRV.EXE /X
C:\DOS\MSCDEX.EXE /D:MSCD01
C:\DOS\MOUSE.COM
@ECHO OFF
PROMPT $p$g
PATH C:\WINDOWS;C:\DOS
SET TEMP=C:\DOS

These may be of good reference later when a fresh system is installed later.





No comments:

Post a Comment