Published on: 24th Nov 2011    |   Last Updated on: 24th Nov 2011

(!) ALERT NOTE : Use following commands if you are expert in DOS or familiar to execute. If any data lost TechnoExam.com will not be responsible for that. This information is published for education purpose only.

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.

Link this post on your Blog/Website :

Follow us on :   Technoexam on facebook Technoexam on twitter Technoexam on linkedin Technoexam on youtube