Sideway BICK BlogSideway BICK BLOG from Sideway

A Sideway to Sideway Home

Link:http://output.to/sideway/default.asp?qno=180500027

Script, Scripting Language, VBScript elements, Server-Side VBScript Object Element Collection FileSystemObject

VBScript FileSystemObject Collections

Some typical predefined Elements are.

  • FileSystemObject Object:
    • Drives Property ≡ Drives Collection
  • FileSystemObject Object:
    • Folder Object
      • SubFolders Property ≡ Folders Collection

Drives Collection

last updated 12/14/2017

is to provide access to all available drives or network shares inside the file system as a single object.

Syntax

Set fsodrivecolvar=fsoobjvar.Drives

Argument

SetRequired Keyword. to specify the setting of an Object instance reference.rematcolvarRequired. to specify the name of a new Object instance reference for the assigned Obect.fsoobjvarRequired. to specify the associated Object instance reference.DrivesRequired Keyword. to specify the Property of associated Object.

Remarks

  • Removable-media drives need not have media inserted for them to appear in the Drives collection.
  • Read-only collection of all available drives returned from the Drives Property of FileSystemObject Object. In other words, a collection of all available drives from the file system.

Applied to

FileSystemObject Object

Folders Collection

last updated 12/16/2017

is to provide access to all available folders inside a folder as a single object.

Applied to

FileSystemObject Object

Sideway BICK Blog

27/05


Copyright © 2000-2020 Sideway . All rights reserved Disclaimerslast modified on 26 January 2013