ASP Drive Object
The Drive object is utilized to get data about a nearby plate drive or a system share.
The Drive Object
The Drive object is utilized to return data about a nearby plate drive or a system share. The Drive article can return data about a drive's kind of record framework, free space, sequential number, volume name, and more.
Note: You can't return data about a drive's substance with the Drive object. For this reason you should utilize the Folder object.
To work with the properties of the Drive object, you should make an occasion of the Drive object through the FileSystemObject object. First; make a FileSystemObject article and afterward instantiate the Drive object through the GetDrive technique or the Drives property of the FileSystemObject object.
The Drive article's properties are portrayed below:
|AvailableSpace||Returns the measure of accessible space to a client on a indicated drive or system share|
|DriveLetter||Returns one capitalized letter that recognizes the neighborhood drive or a system share|
|DriveType||Returns the sort of a predetermined drive|
|FileSystem||Returns the record framework being used for a predefined drive|
|FreeSpace||Returns the measure of free space to a client on a determined drive or system share|
|IsReady||Returns genuine if the predefined drive is prepared and false if not|
|Path||Returns a capitalized letter pursued by a colon that demonstrates the way name for a predetermined drive|
|RootFolder||Returns a Folder object that speaks to the root organizer of a predetermined drive|
|SerialNumber||Returns the sequential number of a predefined drive|
|ShareName||Returns the system share name for a predetermined drive|
|TotalSize||Returns the complete size of a predetermined drive or system share|
|VolumeName||Sets or returns the volume name of a predetermined drive|