# format command

The format BASIC program formats a floppy
disk for use only with the D3 system. The density and drive specified
by the last set-floppy or set-device command are used.

If any bad sectors are detected by the format process,
the disk is not usable under D3.

## Syntax

```
format {(options}}
```

## Parameter(s)

| options | d | Formats for use with MS-DOS. |
| --- | --- | --- |
| v | Verifies the disk only. | |
Warning: Format does not support the specification
of a device number other than the current one.

## Example(s)

Formats the hard disk most recently
set with the set-device or set-floppy command. For use by MS-DOS.

```
format (d
```
Verifies the disk.

```
format (v
```

---
Source: https://d3codex.com/tcl/format-command/ - part of the D3Codex reference.
