This *Command opens a directory display on the Desktop.
*Filer_OpenDir directory [x y [width height_]] [_switches]
| Switch | Alternative | Meaning |
|---|---|---|
| -SmallIcons | -si | Display small icons |
| -LargeIcons | -li | Display large icons |
| -FullInfo | -fi | Display small icons |
| -SortByName | -sn | Display sorted by name |
| -SortByType | -st | Display sorted by type |
| -SortByDate | -sd | Display sorted by date |
| -SortBySize | -ss | Display sorted by size |
| -ReverseSort | -rs | Display in reverse sort order1 |
1 Available on RISC OS 5.16 and above
Each parameter, except for switches, can be preceded by a keyword (shown below)
| Keyword | Alternative | Precedes Parameter |
|---|---|---|
| –directory | –dir | directory |
| –topleftx | –x0 | x |
| –toplefty | –y0 | y |
| –width | –w | width |
| –height | –h | height |
This command can only be used within the desktop environment, or from within a Desktop boot file.
Pathnames should always include the filing system to avoid any ambiguities.