|
Formats the disk in the specified volume to accept Windows 2000
files. You must be a member of the Administrators group to format a hard
drive. format volume [/fs:file-system] [/v:label]
[/q] [/a:unitsize] [/f:size] [/t:tracks
/n:sectors] [/c] [/x] [/1] [/4] [/8]
Parameters volume: Specifies the mount point, volume name, or drive letter of the drive you
want to format. If you do not specify any of the following switches, format
uses the volume type to determine the default format for the disk. /fs:file-system Specifies the file system to use, FAT, FAT32,
or NTFS. Floppy disks can use only the FAT file system. /v:label Specifies the volume label. If you omit the /v switch, or use it without
specifying a volume label, Windows 2000 prompts you for the volume label
after the formatting is completed. Use the syntax /v: to prevent the
prompt for a volume label. If you format more than one disk by using one format
command, all of the disks will be given the same volume label. The /v switch
is not compatible with the /8 switch. For more information about disk
volume labels, click Dir, Label, and Vol in the Related
Topics list. /a:unitsize Specifies the allocation unit size to use on FAT, FAT32, or NTFS volumes.
Use one of the following values for unitsize. If unitsize is
not specified, it will be chosen based on volume size.
/q Deletes the file table and the root directory of a previously formatted
volume, but does not scan for bad areas. You should use the /q switch
to format only previously formatted volumes that you know are in good
condition. /f:size Specifies the size of the floppy disk to format. When possible, use this
switch instead of the /t and /n switches. Use one of the
following values for size: /t:tracks Specifies the number of tracks on the disk. When possible, use the /f
switch instead of this switch. If you use the /t switch, you must also
use the /n switch. These two switches provide an alternative method of
specifying the size of the disk being formatted. You cannot use the /f
switch with the /t switch. /n:sectors Specifies the number of sectors per track. When possible, use the /f
switch instead of this switch. If you use the /n switch, you must also
use the /t switch. These two switches provide an alternative method of
specifying the size of the disk being formatted. You cannot use the /f
switch with the /n switch. /c Files created on the new volume will be compressed by default. /x Causes the volume to dismount, if necessary, before it is formatted. Any
open handles to the volume will no longer be valid. /1 Formats a single side of a floppy disk. /4 Formats a 5.25-inch, 360KB, double-sided, double-density floppy disk on a
1.2-MB disk drive. Some 360KB drives cannot reliably read disks formatted
with this switch. When used with the /1 switch, this switch formats a
5.25-inch, 180KB, single-sided floppy disk. /8 Formats a 5.25-inch disk with 8 sectors per track. This switch formats a
floppy disk to be compatible with |