# check-dx command

The check-dx BASIC program looks through
every file on the system to find and identify those that have a dx,
dy, or dl in attribute 1 of the D-pointer. The dx and dy files are
not saved by the save processor.

**For Windows:**Not Supported

After issuing
the command, the prompt below displays:

```
Enter machine type (that is, Production, Development):
```
Any response may be provided at this prompt. The response
is placed in the heading statement on output.

## Parameter(s)

| options | l | Checks for dl-type files. |
| --- | --- | --- |
| x | Skips dx-type files. | |
| y | Checks for dy-type files. | |

## Example(s)

```
check-dx
Enter machine type: Demo
Files on Demo With DX-type File Pointers
DM
file-of-files
file-of-files <---- file pointer is DX’ed
1 file found with a DX file pointer.
```

## See also

- [account-save command](https://d3codex.com/tcl/account-save-command/)
- [d/code1](https://d3codex.com/attributedefiningitem/d-code1/)
- [File-defining items](https://d3codex.com/definitions/file-defining-items/)
- [file-save command](https://d3codex.com/tcl/file-save-command/)
- [listfiles command](https://d3codex.com/tcl/listfiles-command/)
- [save command](https://d3codex.com/tcl/save-command/)
- [set-dptr command](https://d3codex.com/tcl/set-dptr-command/)
- [Synonym-defining items](https://d3codex.com/definitions/synonym-defining-items/)

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