Name
ShowDirectory -- show directory on desktop (V11.0)
Synopsis
ShowDirectory(d$[, t])
Library
system

Function
This function opens the directory specified by d$ using the host platform's desktop system (e.g. Explorer on Windows, Finder on macOS, Workbench on Amiga...).

Additional options can be specified using the optional table argument t. The following tags are currently recognized:

ShowAll:
This tag is only supported on AmigaOS and compatibles. If it is set to False, only files that have an icon will be shown, otherwise all files will be shown. Defaults to True.

ViewMode:
This tag is only supported on AmigaOS and compatibles. It allows you to set the Workbench view mode for the directory. This can be one of the following special constants:

#VIEWMODE_ICONS
View files as icons. This is the default.

#VIEWMODE_LIST
View files as a list.

Defaults to #VIEWMODE_ICONS.

Inputs
d$
directory to open
t
optional: table containing further options (see above)

Show TOC