Skip to main content

DOS and Disks

Your computer is equipped with one or more diskette drives or a combination of diskette drives and a fixed (or hard) disk drive. DOS assigns different letter designations to disk drives. If you have a system with two diskette drives, the left-hand disk is normally logical disk A, while the right-hand disk is logical disk B. On some machines the disk drives are stacked. Check with the manufacturer to determine which is A and which is B.

This book assumes that the disk containing DOS is either a fixed disk (drive C) or a floppy diskette 
(drive A). Because most systems have fixed disks, drive C is most frequently used. If you have a floppy-disk system, substitute A: for C: in the practice activities.

Although many use the term diskette to refer to a removable, flexible (or floppy) diskette, and disk to refer to a fixed disk, the term disk is used in this blog to refer to both disks and diskettes. When a fixed disk is specifically referenced, the terms fixed or hard disk are used.

Disk Handling and Storage

Flexible disks are delicate and should be handled accordingly. This is particularly true with the popular 5.25-inch diskette. The 3.5-inches diskette configuration is encased in a hard plastic shell and is less susceptible to physical damage. Some suggestions for the handling and storage of flexible diskettes follow.

1. Never touch the exposed magnetic surfaces; always hold disks by their protective jackets.

2. Never expose disks to:
     a.  Magnetic fields (magnets, motors, heavy, metal objects
     b.  Extreme heat or cold
     c.  Direct sunlight
     d.  Moister or oil
               e.  Abrasive material or dust
 
3. Take care not to scratch, score or prick the disks or its protective cover.

4. Never eat, drink, or smoke in areas where disks are use or being stored.
 
5. Use a soft felt-tip marker when writing on disk labels, and write lightly; do not use pencils, ball-point or nylon-tip pens.

6. Store disks in a flat diskette case or box to avoid bending or folding.
 
Following these simple suggestions minimizes the possibility of damage to your valuable programs and stored information (or data) 
 
 
 
 
 
 
 
 
 

Comments

Popular posts from this blog

Path

The PATH command is used to provide access to files located in other directories or on other disks. The PATH command is usually entered as a line in an AUTOEXEC.BAT (or batch) file, which most often contains one or more DOS commands. The AUTOEXEC.BAT file is automatically executed upon system turn-on to run one or more desired programs without the need for user intervention. Other batch  files are executed upon command. When an AUTOEXEC.CAT file is used, each command contained in the file executes as it is encountered. The creation and use of batch files is described in Section 8. To illustrate the PATH command, assume you have a program named GATOR.COM that is located in a sub directory. You are not sure if it is cn disk C or disk A, so you want to search both disks and execute the command when found. To complicate matters, you are not sure if the program is in the SWAMP sub directory or the MUD sub directory. Here is where the PATH command comes to your rescue. To set up a search...

Filenames

It is important to understand DOS file naming conventions and their use. Here, filenames and some special filename "tools" called wild cards and literals are described. What is a File name?   Every program and data file is given a name to differentiate it from other programs and data files. A program is one or more computer instructions collected into a file. A data file is normally a collection of characters (or data) that make up a document, like a letter, or a database, like a collection of accounting transactions or customer records. Descriptive filenames are normally used. For example, if you create and save a letter to Mom, you might give it the filename MOM.LTR. A letter to Dad could be called DAD.LTR. A word processing program file might have the filename WP.COM. Examine these filenames a little closer. First, notice that each filename is meaningful. This is important if you want to know what is in a file by looking at its name. Obscure filenames are of little u...