Friday, April 27, 2012

FORMAT - Dos Command :

It is used to format or erase information or data from a disk drive.
To view 'format' with its all possible parameters you can use following command. Its like help information to regarding that command.
format/?
Commands can be run using Microsoft Windows XP Command Prompt (cmd.exe)
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] 
where,

volume : It specifies the drive letter (followed by a colon), mount point, or volume name.

/FS:filesystem : It specifies the type of the file system (FAT, FAT32, or NTFS).

/V:label : It specifies the volume label.

/Q : It performs a quick format.

/C --> NTFS only: Files created on the new volume will be compressed by default.

/X : It forces the volume to dismount first if necessary. All opened handles to the volume would no longer be valid.

/A:size --> It overrides the default allocation unit size.

/F:size --> It specifies the size of the floppy disk to format (1.44)

/T:tracks --> It specifies the number of tracks per disk side.

/N:sectors --> It specifies the number of sectors per track.

Use 1:

format C:
- This will delete or erase all your data from C drive.

Use 2:

format c: /q
- It leads to quick format. It erases all data from C drive quickly.

No comments:

Post a Comment