folder
-
Synonyms: directory
-
global property
-
The global property
the folder
specifies the current working folder. Any file or file system operations that don’t specify the full path to a file will assume the file is within this folder. This includes reading or writing a file, accessing its properties, and file system operations such as creating, deleting, moving, or copying a file or folder. -
Examples:
set the folder to "~/Documents"
-
-
function
-
Returns the parent folder of a given file or folder.
-
Examples:
put the folder of "/tmp/logs/artemis.log" —> "/tmp/logs/"
-
Related: files, folders, filesAndFolders
-
-
type for "is a" operator
Example:
put "/tmp" is a folder —> True