Directory

Directory


Provides a set of static methods for manipulating and retrieving directory information.


See Also

Project VBCorLib Overview

Public:

Methods:

NameDescription
 CreateDirectoryCreates a directory and any subdirectories in the specified path. 
 DeleteDeletes directories and files within directories. 
 ExistsChecks if the path exists. 
 GetCreationTimeReturns the time of creation for the specified directory in local time. 
 GetCreationTimeUtcReturns the time of creation for the specified directory in UTC time. 
 GetCurrentDirectoryReturns the current directory the application is set to. 
 GetDirectoriesReturns a list of all the directories found in the specified directory that matches the search pattern. 
 GetDirectoryRootReturns the root directory of the specified path. 
 GetFilesReturns a list of all the files that match a pattern within the specified directory. 
 GetFileSystemEntriesReturns both directories and files that match the specified pattern. 
 GetLastAccessTimeReturns the time the directory was last accessed in local time. 
 GetLastAccessTimeUtcReturns the time the directory was last accessed in UTC time. 
 GetLastWriteTimeReturns the time the directory was last written to in local time. 
 GetLastWriteTimeUtcReturns the time the directory was last written to in UTC time. 
 GetLogicalDrivesReturns a list of the logical drives installed on this machine. 
 GetParentReturns the parent of the specified directory. 
 MoveMoves a directory and all of its contents to another location. 
 SetCreationTimeSets the creation time of the specified directory to the local time. 
 SetCreationTimeUtcSets the creation time of the specified directory to UTC time. 
 SetCurrentDirectoryChanges the current directory to the specified directory. 
 SetLastAccessTimeSets the time the directory was last accessed in local time. 
 SetLastAccessTimeUtcSets the time the directory was last accessed in UTC time. 
 SetLastWriteTimeSets the time the directory was last written to in local time. 
 SetLastWriteTimeUtcSets the time the directory was last written to in UTC time.