# fso command

The fso command saves the current item
and overwrites the item when a duplicate item-ID already exists on
file. This form is used when specifying an item-ID other than the
one originally requested.

## Syntax

```
 fso{(file.reference}{item-ID}
```

## Parameter(s)

| item-ID | Name of the item saved. |
| --- | --- |
| file.reference | Name of the file to write to. |

## Example(s)

This does not mean that the command
was invalid. Rather, it means that the item, `main.program.original`, was already on file.

```

ed bp main.program
top
.fs main.program.original
cmnd?
```
It can be overwritten as:

```

.fso main.program.original
```

## See also

- [ex command](https://d3codex.com/editor/ex-command/)
- [fd command](https://d3codex.com/editor/fd-command/)
- [fi command](https://d3codex.com/editor/fi-command/)
- [fs command](https://d3codex.com/editor/fs-command/)
- [Editor overview](https://d3codex.com/editor/editor-overview/)

---
Source: https://d3codex.com/editor/fso-command/ - part of the D3Codex reference.
