Delete all the files on the disk and reformat it for MS-DOS In most cases, this should only be used on floppy drives or other removable media. This command can potentially erase everything on a computer’s hard disk. |
|
/autotest and /backup is an undocumented feature. |
Adding it formats the drive without a confirmation prompt. |
|
SYNTAX: |
format [options] drive |
FORMAT drive: [/V[:label]] [/Q] [/F:size] [/B | /S] [/C] |
FORMAT drive: [/V[:label]] [/Q] [/T:tracks /N:sectors] [/B | /S] [/C] |
FORMAT drive: [/V[:label]] [/Q] [/1] [/4] [/B | /S] [/C] |
FORMAT drive: [/Q] [/1] [/4] [/8] [/B | /S] [/C] |
|
Searches for a text string in a file or files. |
FIND [/V] [/C] [/N] [/I] “string” [[drive:][path]filename[ …]] |
|
/V[:label] |
Specifies the volume label. |
/Q |
Performs a quick format. |
/F:size |
Specifies the size of the floppy disk to format (such as 160, 180, 320, 360, 720, 1.2, 1.44, 2.88). |
/B |
Allocates space on the formatted disk for system files. |
/S |
Copies system files to the formatted disk. |
/T:tracks |
Specifies the number of tracks per disk side. |
/N:sectors |
Specifies the number of sectors per track. |
/1 |
Formats a single side of a floppy disk. |
/4 |
Formats a 5.25-inch 360K floppy disk in a high-density drive. |
/8 |
Formats eight sectors per track. |
/C |
Tests clusters that are currently marked “bad.” |
|