SQL Eval Function Directory

Provides methods for creating, moving, and enumerating through directories and subdirectories.

Name Description Example
Directory_Create(path) Creates all directories and subdirectories in the specified path unless they already exist. Try it
Directory_CreateSubDirectory(path) Creates a subdirectory or subdirectories on the specified path. Try it
Directory_Delete(path) Deletes an empty directory from a specified path. Try it
Directory_DeleteAll(path) Deletes a directory from a specified path including subdirectories, and files. Try it
Directory_Exists(path) Determines whether the given path refers to an existing directory on disk. Try it
Directory_GetAllDirectories(path) Returns the names of subdirectories (including their paths) in the specified directory. Try it
Directory_GetAllFiles(path) Returns the names of files (including their paths) in the specified directory. Try it
Directory_GetAllFileSystemEntries(path) Returns the names of all files and subdirectories in a specified path. Try it
Directory_GetCreationTime(path) Returns the creation date and time of a directory. Try it
Directory_GetCreationTimeUtc(path) Returns the creation date and time, in Coordinated Universal Time (UTC) format, of a directory. Try it
Directory_GetDirectories(path) Returns the names of the subdirectories (including their paths) that match the specified search pattern in the specified directory, and optionally searches subdirectories. Try it
Directory_GetFiles(path) Returns the names of files (including their paths) that match the specified search pattern in the specified directory, using a value to determine whether to search subdirectories. Try it
Directory_GetFileSystemEntries(path) Returns a list of all the file names and directory names that match a search pattern in a specified path, and optionally searches subdirectories. Try it
Directory_GetLastAccessTime(path) Returns the date and time the specified file or directory was last accessed. Try it
Directory_GetLastAccessTimeUtc(path) Returns the date and time, in Coordinated Universal Time (UTC) format, that the specified file or directory was last accessed. Try it
Directory_GetLastWriteTime(path) Returns the date and time the specified file or directory was last written to. Try it
Directory_GetLastWriteTimeUtc(path) Returns the date and time, in Coordinated Universal Time (UTC) format, that the specified file or directory was last written to. Try it
Directory_Move(sourceDirName, destDirName) Moves a file or a directory and its contents to a new location. Try it
Directory_SetCreationTime(path, creationTime) Sets the creation date and time for the specified file or directory. Try it
Directory_SetCreationTimeUtc(path, creationTime) Sets the creation date and time, in Coordinated Universal Time (UTC) format, for the specified file or directory. Try it
Directory_SetLastAccessTime(path, lastTime) Sets the date and time the specified file or directory was last accessed. Try it
Directory_SetLastAccessTimeUtc(path, lastTime) Sets the date and time, in Coordinated Universal Time (UTC) format, that the specified file or directory was last accessed. Try it
Directory_SetLastWriteTime(path, lastTime) Sets the date and time a directory was last written to. Try it
Directory_SetLastWriteTimeUtc(path, lastTime) Sets the date and time, in Coordinated Universal Time (UTC) format, that a directory was last written to. Try it



Prime Library