# list-index command

The list-index BASIC program lists all
indexes for a given file name, account name, or for the system.

## Syntax

```
list-index <filename>|<accountname,,>|mds,,
```

## Parameter(s)

| | Lists all indexes for the specified file name. |
| --- | --- |
| | Lists all indexes for all files within the specified fully-pathed account. |
| mds,, | Lists all indexes for the system. Indexes are listed by account and then by file. |
Displays case sensitivity, root fid, and the a-correlative
which defines the index keys for each index.

**For Windows:** VME accounts are listed first, followed by FSI accounts.

## Example(s)

```
:list-index jd.x
LIST-INDEX filename: jd.x 09:35:55 09 Jul 2004 Page 1

Case Insensitive 19033 a1
Case Sensitive 19015 a2
Case Insensitive 19968 a1:" This is longer than the others"
```

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