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

DIR

DIR The DIR command is used to display filenames on your screen. In addition to names, the file size and creation date and time is also displayed. Several forms of the DIR command are available for you to use. A comprehensive list of DIR command forms follows. DIR-Lists a directory of the disk located in the active (or logged) disk drive (disk A if the A> prompt is displayed, B if the B> prompt is displayed, and so on). DIR D:-Lists a directory of the specified disk D:. DIR/P or DIR D:/P- Pauses the directory listing when the screen is full. press any key to see the next screen load of filenames. Typing DIR |MORE achieves a similar result. DIR/W or DIR D:/W- Display a wide directory; omits file size , date, and time information. DIR filename.ext - Displays the specified filename; used to verify the presence of a file on the logged or specified disk. DIR filename.* or DIR filename.???-Displays a directory of all files having the same filename with different extensions....

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...

FORMAT

The FORMAT  command prepares a new disk for use by organizing the disk into magnetic tracks and sectors that are readable by DOS. when a disk is formatted, any files on that disk are usually lost. because of the plethora of disk types and capacities, new parameters were added to the FORMAT command in DOS  version 4.01. MS-DOS 5.00 introduction a safe FORMAT command and the ability to UNFORMAT unintentially formatted disks. These parameters and others are presented in the following paragraph and table. FORMAT Command Form:   There are a number of FORMAT command forms. These are described in the following list. CAUTION  BE aware that the FORMAT command erases all files from the disk being formatted.     Many computer users  have accidentally formatted the wrong disk. If you have programs or    document files  you wish to keep, do not format the disk! (DOS 5.00 lets you UNFORMAT     disk, but even with this ve...