Skip to main content

Format, Vol, and Label Command Activity

FORMAT, VOL, AND LABEL COMMAND ACTIVITY

In this activity, place a blank disk in drive A (or drive B if you are using a floppy disk system). In this activity and others, use B in place of A if you are using a two-drive floppy system. Your DOS disk should be located in drive A on a floppy system.
 
1. Type FORMAT A:/S and press Enter. Notice the following display.

Insert new diskette for drive A:
 
and press ENTER when ready...
 
2. Insert the disk to be formatted and press Enter to start the disk formatting process; notice a "Formatting..." display. It may include the Head and Cylinder location if you have DOS version 3.10 or later.

 
3. Wait until the following message is displayed.

 Format complete
 
System transferred
 xxxxxx bytes total disk space
 
   xxxxx  byte used by system
 
 xxxxxx bytes available on disk

Format another (Y/N)? 

4. Type N to re display the system prompt.
 
5. Type LABEL A: NEWNAME and press Enter.
 
6. Check the new volume label name by typing VOL A: and pressing Enter. Notice the display: "Volume in drive A is NEWNAME. "

7. Delete the volume label by typing LABEL A: and pressing Enter. Notice the prompt:
                           
  Volume in drive A is NEWNAME
                            Volume label (11 characters, ENTER for none)? _ 

8. Press  Enter and notice the following prompt:

Delete current volume label (Y/N) _
 
9. Type  Y and press Enter to delete the voulme label.

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

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

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