System.IO.Directory
Methods
| CreateDirectory | Creates the specified directory and all the directories on its path if necessary |
| Delete | Deletes a directory and optionally all its subdirectories |
| Move | Moves a directory |
| GetFileSystemEntries | Returns a string array will all the files and directories in a directory, optionally filtered by the specified criteria |
| GetFiles | Returns a string array will all the files in a directory, optionally filtered by the specified criteria |
| GetDirectories | Returns a string array will all the subdirectories in a directory, optionally filtered by the specified criteria |
| GetLogicalDrives | Returns a string array with all the logical drives in the system |
| GetCreationTime | Returns the creation time of the directory |
| GetCurrentDirectory | Returns the current directory (string) - equivalent to ChDrive, ChDir and CurDir functions |
| GetLastAccessTime | Returns the last access time of the directory |
| GetLastWriteTime | Returns the last write time of a directory |
| GetParent | Returns the parent directory as a DirectoryInfo object |
| GetDirectoryRoot | Returns the root directory for the specified path (string) |
| Exists | Returns True if the directory exists |
| SetCreatiionTime | Sets the creation time of the directory |
| SetCurrentDirectory | Sets the current directory |
| SetLastWriteTime | Sets the last write time of the directory |
| SetLastAccessTime | Sets the last access time of the directory |
© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited TopPrevNext