Features
      Ask DevGuru
      ASP Resources
      Find the Bug
      Knowledge Base
      Links
      Tips of the Week
      Tutorials
  Products
      dgCalendar
      dgCharge New!
      dgChart New!
      dgFileUpload
      dgReport New!
      dgSort
      dgTree
  Site
      Authoring
      Coming Soon
      DevGuru Resume
      Link to Us
      Merchandise
      Sponsorships
      Testimonials
      What's New
  Technologies
      ADO 2.6
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      Transact-SQL Syntax
      VBScript
      WML
      WMLScript
      WSH
      XML DOM

              











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 '" & it & "'."
%>

Output:
"The volume label for drive c is 'C:'."


Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information