IncludeDirectories

IncludeDirectories

is an option that specifies whether directories are included in evaluations.

Details

  • With the default setting IncludeDirectoriesFalse, directories are excluded from evaluations.
  • With the setting IncludeDirectoriesTrue, functions like FileSystemMap will apply to both directories and files.

Examples

Basic Examples  (1)

By default, FileSystemMap excludes directories:

In[1]:=
Click for copyable input
Out[1]=

When IncludeDirectories is set to True, a key of All will be added for the evaluated directory:

In[2]:=
Click for copyable input
Out[2]=
Introduced in 2019
(12.0)