Learnthat.com Free Certification and Computer Online Courses
ThatNetwork.com Internet Media Network Givethat.com free gift ideas Definethat.com - Free technical definitions, define Free Romance Tips, Romantic Tips, Date Ideas Free POD publisher comparison print on demand
Learnthat.com Free A+ Certification, Computer Classes, Certification Courses, Business, Lifestyle, ApplicationsFree business tutorials and definitionsFree certification tutorials and definitionsFree computer and technical tutorials and technical definitionsFree Finance Tutorials and DefinitionsFree House Repair TutorialsFree Lifestyle and Fun Tutorials
  All Online CoursesNew Courses QuickTipsWord DefinitionsSubmit a TutorialLinks
÷ Resources
Home
free tech tutorials
Free Tutorials
free tech tutorials
Certifications
free tech tutorials
Definitions
free tech tutorials
Resources/Links
free tech tutorials
Forums
free tech tutorials
Distance Education
free tech tutorials
Highest Rated Tutorials
÷ Popular Tutorials
÷ New Tutorials

Active Server Pages (ASP)

 

The Drive Object

You use the Drive object to return information about a local or network drive.

Drive Object: Properties

AvailableSpace

Returns the amount of available space on the specified drive.

DriveLetter

Returns the drive letter of the specified drive.

DriveType

Returns the type of the specified drive.

FileSystem

Returns the file system in use on the drive.

FreeSpace

Returns the amount of free space on the specified drive.

IsReady

Is "true" if the specified drive is ready.

Path

Returns the path for the specified drive.

RootFolder

Returns the root folder of the specified drive using an instance of the Folder object.

SerialNumber

Returns the serial number of the specified drive.

ShareName

Returns the network share name of the specified drive.

TotalSize

Returns the total size of the specified drive.

VolumeName

Specifies or returns the volume name of the drive.

The following code displays a drive's available space:

<%

Dim varFileSystem,varDrive

Set varFileSystem=Server.CreateObject("Scripting.FileSystemObject")

Set varDrive=varFileSystem.GetDrive("c:")

Response.Write("Available space on Drive " & varDrive & ":")

Response.Write(varDrive.AvailableSpace)

set varDrive=nothing

set varFileSystem=nothing

%>

 

by Summer Doucet

Find more free Internet tutorials from Learnthat.com.

More Information:

Help us by rating this tutorial: [---] [--] [+] [++] [+++]
[---] lowest; [+++] highest

 

 

 


Learn: Free Tutorials - Links to Free Tutorials
Understand: Free Technical Definitions - ExplainThat Whitepapers
Use: Certification Section - Discussion Forum

Visit Our Network Sites:

DefineThat.com Technical Defintions Romancetips.com
Free Gift Ideas - GiveThat Planthat.com Free Unique Business Ideas
PublishOnDemand.net - Learn about Print on Demand (POD) - Self Publishing Seekthat.com - Technical Search Engine
ThatNetwork.com  

About Us : Contact Us : Advertise : Privacy Information

© 1998-2004 Learnthat.com