Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
All Properties
Drives Collection
Property: Drives Collection.Item
Implemented in version 3.0
object.
Item
(drive)
This property returns an
Item
from the collection relating to a specified key (drive name).
The following code shows how to retrieve an item from a
Drives
collection.
Code:
<%
Dim filesys, drvcoll, label
Set filesys = CreateObject("Scripting.FileSystemObject")
Set drvcoll = filesys.Drives
label = drvcoll.Item("c")
Response.Write "The volume label for drive c is '" & label & "'."
%>
Output:
"The volume label for drive c is 'C:'."
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information