Format Command In Windows Server 2008

This article shows how to use Format command in Windows Server 2008 operating system.
  • 2058

Introduction

Format command in Windows Server 2008 is used to format a disk so it can accept windows files. Syntax for using Format command is given below.

Syntax

format <Volume> [/fs:{FAT | FAT32 | NTFS}] [/v:<Label>] [/q] [/a:<UnitSize>] [/c] [/x] [/p:<Passes>]

format <Volume> [/v:<Label>] [/q] [/f:<Size>] [/p:<Passes>]

format <Volume> [/v:<Label>] [/q] [/t:<Tracks> /n:<Sectors>] [/p:<Passes>]

format <Volume> [/v:<Label>] [/q] [/p:<Passes>]

format <Volume> [/q]

Parameters For Format

Parameter Description
<Volume> Defines the mount point, volume name or drive letter of the drive that user want to format.
/fs:{FAT | FAT32 | NTFS | UDF} Defines the type of the file system.
/v:<Label> Defines the volume label.
/a:<UnitSize> Defines the allocation unit size to use on FAT, FAT32 or NTFS volumes.
/q Performs a quick format.
/f:<Size> Defines the size of the floppy disk to format.
/t:<Tracks> Defines the number of tracks on the disks.
/n:<Sectors> Defines the number of sectors per track.
/p:<Passes> Zeros every sector on the volume for the number of passes defined.
/c NTFS only.
/x Causes the volume to dismount, if necessary, before it is formatted.
/? Shows help at the command prompt.

 Ask Your Question

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2019 DotNetHeaven. All rights reserved.