Skip to main content

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 version of DOS, there are no guarantees that all data will be restored. 

All DOS Versions:
FORMAT- Format the disk in the default drive.

FORMAT-B:- Format the disk B.

FORMAT /S- Format the disk in the default  drive and transfer the DOS to it.(this places system files
including COMMAND.COM, BIO.COM, and DOS.COM on the disk.) If you plan to use the
disk for data only, avoid using /S. The DOS files occupy valuable space.                                 

FORMAT B:/S- Format the disk in drive B and transfer the DOS to it.

FORMAT /1-Format the disk as single sided.

FORMAT B-Format the disk and reserve space for DOS files BIO.COM and DOS.COM. However, the DOS is not transferred until the SYS command is used. The /B option creates a 320KB, eight-sector diskette rather than a 360KB, nine-sector diskette.

FORMAT B:/1/S-Format the disk in drive B as single sided and transfer the DOS to it.

DOS Versions 2.00 and later:

FORMAT /B-Format the disk with eight sectors (for compatibility with DOS versions prior to 2.00).

FORMAT /V-Display a prompt that asks for a 1 - to 11- character disk volume name.  (The/V parameter cannot be used with the /8 parameter.)

FORMAT /S/V-Format the disk, prompt for a volume name, and transfer the DOS to it.

FORMAT /3-Some DOS versions used with laptop computers or those with 3 1/2-inch disk drive use this form of the FORMAT command.

DOS Version 3.00:

FORMAT /4-Format a 360k or 180k capacity disk in a high capacity (1.2 megabyte) drive. This commands is typically used with drive A ob the IBM PC-AT.

DOS Version 3.30:

FORMAT /N:9 /T:80-Computers that use the 1.44MB 3 1/2-inch double-sided diskettes can use and format 729KB diskettes. Use this command to format a 720KB diskette in a 1.44MB drive. Tge /N:9 parameter specifies nine sectors per track. (A 1.44MB diskette has 18 sectors per track (/N:18).)  The /T:80 specifies eighty tracks.

DOS Verison 5.00:

FORMAT /U-Specifies unconditional format, which destroys all data on the target disk to prevent subsequent unformatting with the UNFORMAT command.

Comments

Popular posts from this blog

Making, Changing, and Removing Directories

You used the DIR (directory) command in Section 3 to display a list of filenames on the screen. You can create and name multiple disk directories on a disk to allow for the subdivision of your files. This feature lets you group common files into separate directories. This is similar to subdividing information into file cabinet drawers and file folders. This is particularly convenient when you use a fixed disk containing hundreds or even thousands of files. Instead of listing all files in one directory, you can list files in smaller, more manageable sub directories. Lock at the following directory commands. Command                                      Purpose                   MKDIR or MD                                Make a new directory        ...

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