RSS

DOS command to format disk

How to format a floppy disk, hard disk, flash disk or the other, below are examples of a given command at the DOS prompt.

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] [/ a] [/ 4]
FORMAT volume [/ Q] [/ a] [/ 4] [/ 8]

volume: Specifies the drive letter (Followed by a colon), mount point, or volume name.

  •      / FS: filesystem Specifies the type of the file system (FAT, FAT32, or NTFS).
  •      / V: label Specifies the volume label.
  •      / Q: performs a quick format.
  •      / C: Files created on the new volume Will be compressed by default.
  •      / X Forces the volume to Dismount first if Necessary. All opened handles to the volume would no longer be valid.
  •      / A: size Overrides the default allocation unit size. Default settings are strongly recommended for general use. NTFS supports 512, 1024, 2048, 4096, 8192, 16K, 32K, 64K. FAT supports 512, 1024, 2048, 4096, 8192, 16K, 32K, 64K, (128K, 256K for sector size> 512 bytes). FAT32 supports 512, 1024, 2048, 4096, 8192, 16K, 32K, 64K, (128K, 256K for sector size> 512 bytes). Note That the FAT and FAT32 files systems impose the following restrictions on the number of clusters on a volume: FAT: Number of clusters <= 65526​​, FAT32: 65526 ​​<>
  •      / F: size: Specifies the size of the floppy disk to format (160, 180, 320, 360, 640, 720, 1.2, 1.23, 1:44, 2.88, or 8.20).
  •      / 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.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 comments:

Post a Comment