Class Drive (Scripting VBA)
Provides access to the properties of a particular disk drive or network share.
The classes File, FileSystemObject and Folder. give access to class Drive
Properties
Path (Default member) - Returns the path for a specified file, folder, or drive.
AvailableSpace returns the amount of space available to a user on the specified drive or network share.
DriveLetter returns the drive letter of a physical local drive or a network share.
DriveType returns a value indicating the type of a specified drive.
FileSystem returns the type of file system in use for the specified drive.
FreeSpace returns the amount of free space available to a user on the specified drive or network share.
IsReady returns True if the specified drive is ready; False if it is not.
RootFolder returns a Folder object representing the root folder of a specified drive.
SerialNumber returns the decimal serial number used to uniquely identify a disk volume.
ShareName returns the network share name for a specified drive.
TotalSize returns the total space, in bytes, of a drive or network share.
VolumeName sets or returns the volume name of the specified drive.
Related Classes
Folder - Provides access to all the properties of a folder.