*! version July 26, 2018 @ 23:13:28

Title

opendir -- Open folder/directory window in the operating system

Syntax

opendir
{folder]
[,
sysdir(name)
]

Description

opendir opens the specified folder/directory in a (non-Stata) window. It is nothing fancy, just useful.
If no folder/directory gets specified, it opens the current working directory.

Options

sysdir allows you to specify a so-called sysdir, such as PERSONAL.

Remarks

Sometimes it is nicer and simpler to see what is in a folder/directory through the typical window in the operating system than via a file listing. opendir is meant for this.
It will open the specified folder/directory in the Finder (macOS), Explorer (MS Windows), or whatever windows manager you use in unix.

Example(s)

. opendir

opens the current working directory.

. opendir ..

opens the parent of the current working directory.

. opendir ~/Documents

opens the Documents directory in your home folder.

Author

Bill Rising, StataCorp

email: brising@stata.com

web: http://louabill.org