Microsoft Windows XP Professional Administrators Guide

Formats a disk.

Syntax

format volume [/fs:file-system] [/v:label] [/q] [/a:unitsize] [/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]

Parameters

 

Parameter

Purpose


volume:

Sets the mount point, volume, or drive to be formatted.

[/fs:file-system]

Specifies one of the following file systems: FAT, FAT32, or NTFS.

[/v:label]

Sets the volume label.

[/a:unitsize]

Sets the allocation unit size to use on FAT, FAT32, or NTFS volumes.

[/q]

Performs a quick format.

[/f:size]

Specifies the size of the floppy disk.

[/t:tracks]

Specifies the number of tracks on the disk.

[/n:sectors]

Specifies the number of sectors per track.

[/c]

Specifies that files created on the new volume should be automatically compressed.

[/x]

Automatically dismounts a volume if required before formatting it.

Категории