Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

asp

What is Drive in ASP?

Adnan Abbas

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

Answers Code

In ASP, the Drive object obtains information about the local disk drive or the network share. It can return the specifications such as the drive’s type of file system, volume number, free space, etc.

To work with the various properties offered by the Drive object, we would first have to create a FileSystemObject object and then create a Drive instance through it. This is done by using the GetDrive property of the FileSystemObject.

The following table lists the properties offered by the Drive object:

Property Description
AvailableSpace Returns the available space of the specified drive or network share.
DriveLetter It returns an uppercase letter that identifies the drive or network share.
DriveType Returns the type of the specified drive.
FileSystem It returns the file system used by the drive.
FreeSpace Returns the free space of the specified drive or network share.
IsReady Returns true if the drive is ready and false otherwise.
Path Path returns an uppercase letter followed by a colon that indicates the pathname for the specified drive.
RootFolder Returns a FolderObject of the root of the specified drive.
SerialNumber Returns the serial number of the specified drive.
ShareName It returns the network share name for a specified drive
TotalSize Returns the total size of the specified drive or network share.
VolumeName VolumeName sets or returns the volume name of a specified drive.

RELATED TAGS

asp

CONTRIBUTOR

Adnan Abbas
Copyright ©2022 Educative, Inc. All rights reserved

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

Answers Code
Keep Exploring