|
FORMAT
Format a disk.
Syntax
FORMAT drive: [/FS:file-system] [/V:label] [/Q] [size] [/C]
Key
/FS:file-system The file system (FAT or NTFS).
/V:label The volume label.
/Q Quick format.
/C Compression - files added to the new disk
will be compressed.
[size] may be defined either with /F:size or /A:size
/F:size size is the size of the floppy disk.
/A:size Allocation unit size.
Default settings (via /F) are strongly
recommended for general use.
Example
@echo off
Echo Warning this will reformat the entire D: disk!
PAUSE
format D: /FS:NTFS /x
Cmd Commands
|