Article is using Microsoft Windows XP Professional [Version 5.1.2600], Command Line.
FORMAT is a standard Windows utility that is used to analyze and/or format a volume or disk with a FAT, FAT32, or NTFS file-system, as specified. Warning: This utility may destroy data un-recover-ably.
Syntax:
FORMAT volume [ /FS: file-system ] [ /V: label ] [ /Q ] [ /A: size ] [ /C ] [ /X ]
FORMAT volume [ /V: label ] [ /Q ] [ /F: size ]
FORMAT volume [ /V: label ] [ /Q ] [ /T: tracks /N: sectors ]
FORMAT volume [ /V: label ] [ /Q ]
FORMAT volume [ /Q ]
FORMAT volume [ /? ]
| volume | The disk, drive, or volume you want to format. This needs to be a drive letter, volume name, or mount point. (Example: F:\) | ||||||
| file-system | The file-system type you want to use; must be FAT, FAT32 or NTFS. | ||||||
| label | The label or name of the volume/disk. | ||||||
| size | A specified size, as instructed. | ||||||
| tracks | The number of tracks (per disk side). | ||||||
| sectors | Specifics the number of sectors (per track). | ||||||
| /FS: file-system | Specifies what type of file-system is to be created on the volume; must be FAT, FAT32 or NTFS. | ||||||
| /V: label | Specifies the name or label you want associated with the volume. | ||||||
| /Q | Executes a quick format on the volume, although it is not as efficient. | ||||||
| /C | NTFS file-systems only: ensures that all files added to the volume are compressed by default. | ||||||
| /X | If the volume is mounted, it is forced to extract the dismount before any other operations take place. Any current mount point connections for that volume will be terminated. | ||||||
| /A: size | Specifies a custom size for the individual allocation units. Default sizes supported:
|
||||||
| /F: size | Allows you to specify the size of a floppy diskette to format (i.e. 1.44 ) | ||||||
| /T: tracks | Allows you to specify how many tracks per disk side you want. | ||||||
| /N: sectors | Allows you to specify how many sectors per track you want. | ||||||
| /? | Displays the on-screen help text. |
Example:
- FORMAT F:\ /FS:NTFS /V:MyDrive /A:1024 /X
This will first check if my drive is mounted or in use; if so, it will be forced to dismount. Then, my F:\ drive will be formatted with a NTFS file-system with a sector size setting of 1024 bytes. Also, my volume will be labeled “MyDrive“.
Popularity: 22% [?]

![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=f3ba2cba-e3ad-4cd3-853f-bcd3d9d61c79)
