Sideway
output.to from Sideway
Draft for Information Only

Content

VBScript Properties of FSO Drive Object
 AvailableSpace Property
  Syntax
  Argument
  Remark
  Applied to
 DriveLetter Property
  Syntax
  Argument
  Remark
  Applied to
 DriveType Property
  Syntax
  Argument
  Remark
  Applied to
 FileSystem Property
  Syntax
  Argument
  Remark
  Applied to
 FreeSpace Property
  Syntax
  Argument
  Remark
  Applied to
 IsReady Property
  Syntax
  Argument
  Remark
  Applied to
 Path Property
  Syntax
  Argument
  Remark
  Applied to
 RootFolder Property
  Syntax
  Argument
  Remark
  Applied to
 SerialNumber Property
  Syntax
  Argument
  Remark
  Applied to
 ShareName Property
  Syntax
  Argument
  Remark
  Applied to
 TotalSize Property
  Syntax
  Argument
  Remark
  Applied to
 VolumeName Property
  Syntax
  Argument
  Applied to

VBScript Properties of FSO Drive Object

Some typical predefined Elements are.

  • FSO Drive Object:
    • AvailableSpace Property: Read Only Value
    • DriveLetter Property: Read Only Value
    • DriveType Property: Read Only Value
    • FileSystem Property: Read Only Value
    • FreeSpace Property: Read Only Value
    • IsReady Property: Read Only Value
    • Path Property: Read Only Value
    • RootFolder Property: Read Only Value [≡ Folder object]
    • SerialNumber Property: Read Only Value
    • ShareName Property: Read Only Value
    • TotalSize Property: Read Only Value
    • VolumeName Property: Read/Write Value

AvailableSpace Property

last updated 14 Dec 2017

is to return the amount of space available to a user on a drive or network share of associated Drive Object.

Syntax

fsodriveobjvar.AvailableSpace

Argument

fsodriveobjvarRequired. to specify the associated Object instance reference.AvailableSpaceRequired Keyword. to specify the Property of associated Object.

Remark

  • The object is always a Drive object.
  • The value returned by the AvailableSpace property is typically the same as that returned by the FreeSpace property.
  • Differences may occur between the two for computer systems that support quotas.

Applied to

Drive Object

DriveLetter Property

last updated 14 Dec 2017

is to return the drive letter of a drive or a network share of associated Drive Object.

Syntax

fsodriveobjvar.DriveLetter

Argument

fsodriveobjvarRequired. to specify the associated Object instance reference.DriveLetterRequired Keyword. to specify the Property of associated Object.

Remark

  • The object is always a Drive object.
  • The DriveLetter property returns a zero-length string ("") if the specified drive is not associated with a drive letter, for example, a network share that has not been mapped to a drive letter.

Applied to

Drive Object

DriveType Property

last updated 14 Dec 2017

is to returns a value indicating the type of a Drive of associated Drive Object.

Syntax

fsodriveobjvar.DriveType

Argument

fsodriveobjvarRequired. to specify the associated Object instance reference.DriveTypeRequired Keyword. to specify the Property of associated Object.

Remark

  • The object is always a Drive object.

Applied to

Drive Object

FileSystem Property

last updated 15 Dec 2017

is to return the type of file system in use for the drive of associated Drive Object.

Syntax

fsodriveobjvar.FileSystem

Argument

fsodriveobjvarRequired. to specify the associated Object instance reference.FileSystemRequired Keyword. to specify the Property of associated Object.

Remark

  • The object is always a Drive object.
  • Available return types include FAT, NTFS, and CDFS.

Applied to

Drive Object

FreeSpace Property

last updated 15 Dec 2017

is to return the amount of free space available to a user on a drive or network share of associated Drive Object.

Syntax

fsodriveobjvar.FreeSpace

Argument

fsodriveobjvarRequired. to specify the associated Object instance reference.FreeSpaceRequired Keyword. to specify the Property of associated Object.

Remark

  • The object is always a Drive object.
  • The value returned by the FreeSpace property is typically the same as that returned by the AvailableSpace property. Differences may occur between the two for computer systems that support quotas.

Applied to

Drive Object

IsReady Property

last updated 15 Dec 2017

is to return a Boolean value indicating the drive of associated Drive Object is ready with True or is not False.

Syntax

fsodriveobjvar.IsReady

Argument

fsodriveobjvarRequired. to specify the associated Object instance reference.IsReadyRequired Keyword. to specify the Property of associated Object.

Remark

  • The object is always a Drive object. For removable-media drives and CD-ROM drives, IsReady returns True only when the appropriate media is inserted and ready for access.

Applied to

Drive Object

Path Property

last updated 15 Dec 2017

is to return the path of a drive, folder, or file of associated Drive, Folder, or File Object.

Syntax

fsodriveobjvar.Path
fsofolderobjvar.Path
fsofileobjvar.Path

Argument

fsodriveobjvar | fsofolderobjvar | fsofileobjvarRequired. to specify the associated Object instance reference.PathRequired Keyword. to specify the Property of associated Object.

Remark

  • The object is always a File, Folder, or Drive object.
  • For drive letters, the root drive is not included. For example, the path for the C drive is C:, not C:\.

Applied to

Drive Object, Folder Object, File Object

RootFolder Property

last updated 15 Dec 2017

is to return a Folder object representing the root folder of a drive of associated Drive Object.

Syntax

fsodriveobjvar.RootFolder

Argument

fsodriveobjvarRequired. to specify the associated Object instance reference.RootFolderRequired Keyword. to specify the Property of associated Object.

Remark

  • The object is always a Drive object.
  • All the files and folders contained on the drive can be accessed using the returned Folder object.

Applied to

Drive Object

SerialNumber Property

last updated 15 Dec 2017

is to return the decimal serial number used to uniquely identify a disk volume of a drive or a network share of associated Drive Object.

Syntax

fsodriveobjvar.SerialNumber

Argument

fsodriveobjvarRequired. to specify the associated Object instance reference.SerialNumberRequired Keyword. to specify the Property of associated Object.

Remark

  • The object is always a Drive object.
  • You can use the SerialNumber property to ensure that the correct disk is inserted in a drive with removable media.

Applied to

Drive Object

ShareName Property

last updated 15 Dec 2017

is to returns the network share name of a drive of associated Drive Object.

Syntax

fsodriveobjvar.ShareName

Argument

fsodriveobjvarRequired. to specify the associated Object instance reference.ShareNameRequired Keyword. to specify the Property of associated Object.

Remark

  • The object is always a Drive object.
  • If object is not a network drive, the ShareName property returns a zero-length string ("").

Applied to

Drive Object

TotalSize Property

last updated 15 Dec 2017

is to return the total space in bytes of a drive or network share of associated Drive Object..

Syntax

fsodriveobjvar.TotalSize

Argument

fsodriveobjvarRequired. to specify the associated Object instance reference.TotalSizeRequired Keyword. to specify the Property of associated Object.

Remark

  • The object is always a Drive object.

Applied to

Drive Object

VolumeName Property

last updated 15 Dec 2017

is to set, if optional newname is given, or to return the volume name of a drive of associated Drive Object.

Syntax

fsodriveobjvar.VolumeName [= newname]

Argument

fsodriveobjvarRequired. to specify the associated Object instance reference.VolumeNameRequired Keyword. to specify the Property of associated Object.newnameOptional. to specify newname as the new volume name of the specified object.

Applied to

Drive Object

©sideway

ID: 180500029 Last Updated: 5/29/2018 Revision: 0


Latest Updated LinksValid XHTML 1.0 Transitional Valid CSS!Nu Html Checker Firefox53 Chromena IExplorerna
IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 8

Culture

Chinese 1097

English 339

Reference 79

Computer

Hardware 249

Software

Application 213

Digitization 32

Latex 52

Manim 205

KB 1

Numeric 19

Programming

Web 289

Unicode 504

HTML 66

CSS 65

SVG 46

ASP.NET 270

OS 429

DeskTop 7

Python 72

Knowledge

Mathematics

Formulas 8

Set 1

Logic 1

Algebra 84

Number Theory 206

Trigonometry 31

Geometry 34

Coordinate Geometry 2

Calculus 67

Complex Analysis 21

Engineering

Tables 8

Mechanical

Mechanics 1

Rigid Bodies

Statics 92

Dynamics 37

Fluid 5

Fluid Kinematics 5

Control

Process Control 1

Acoustics 19

FiniteElement 2

Natural Sciences

Matter 1

Electric 27

Biology 1

Geography 1


Copyright © 2000-2024 Sideway . All rights reserved Disclaimers last modified on 06 September 2019