Version: 3
restore

Contents

Method

FindDirectoryByName

ModuleFileSystem
LibraryCore
Action

Finds a folder by name.

Parameters

DirectoryName (string): The name of the subdirectory to be found. This is not an absolute path. The name can include wildcard characters ? and *.

Fast ( boolean; optional, default true): chooses between the fast (and beta) search technology or the previous slower (but fully reliable) technology.

Case insensitive wildcards are supported only on Windows.

Android currently does not support wildcards, exact match is required


Return values

For each directory found:

    • Path (string): The full path of the directory.
Example
FileSystem.FindFileByName(FileName:"ips.txt", Fast:true);
Platforms
  • Windows
  • Linux
  • MacOS
  • Solaris Intel
  • Solaris Sparc
  • Android
Notes

This will search all fixed disks which is a resource expensive process and may take some time if fast=false.