GetFilesInDirectory

From Onset Developer Wiki
Revision as of 16:37, 30 June 2021 by BlueMountains (talk | contribs) (Created page with "{{Info|Function|Server|1.5.0}} {{FuncDescription|Gets the files in a specific directory.}} {{FuncSyntax|GetFilesInDirectory(Path, bRecursive)}} {{FuncParameters}} {{FuncPar...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
GetFilesInDirectory

Type: Function
Context: Server
Introduced: v1.5.0

Description

Gets the files in a specific directory.

Syntax

GetFilesInDirectory(Path, bRecursive)

Parameters

  • Path
    Path as a string from where to get the file names.
  • bRecursive
    Whether to get files form subdirectores as well. Default: false

Return Value

  • Returns the file names in a table.

Example

See also