WLJS LogoWLJS Notebook

Directory

Directory[] gives the current working directory.

Examples

Get current directory:

Directory[]
(* "/Users/username/project" *)

Use with FileNames:

FileNames["*.txt", {Directory[]}]

Please visit the official Wolfram Language Reference for more details.

On this page