FORMAT (XP Pro, ver:5.1.2600)

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:

FAT 512 , 1024 , 2048 , 4096 , 8192 , 16K, 32K, 64K (128K & 256K will be substituted by 512)
FAT32 512 , 1024 , 2048 , 4096 , 8192 , 16K, 32K, 64K (128K & 256K will be substituted by 512)
NTFS 512 , 1024 , 2048 , 4096 , 8192 , 16K, 32K, 64K
/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“.
Reblog this post [with Zemanta]

Popularity: 22% [?]

  • MySpace
  • Blogger Post
  • Digg
  • Facebook
  • Twitter
  • Google Bookmarks
  • Share/Bookmark

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>