Sideway
output.to from Sideway
Draft for Information Only

Content

VBScript Properties of FSO Folder Object
 Attributes Property
  Syntax
  Argument
  Setting
  Remark
  Applied to
 DateCreated Property
  Syntax
  Argument
  Remark
  Applied to
 DateLastAccessed Property
  Syntax
  Argument
  Remark
  Applied to
 DateLastModified Property
  Syntax
  Argument
  Remark
  Applied to
 Drive Property
  Syntax
  Argument
  Remark
  Applied to
 Name Property
  Syntax
  Argument
  Remark
  Applied to
 ParentFolder Property
  Syntax
  Argument
  Remark
  Applied to
 Path Property
  Syntax
  Argument
  Remark
  Applied to
 ShortName Property
  Syntax
  Argument
  Remark
  Applied to
 ShortPath Property
  Syntax
  Argument
  Remark
  Applied to
 Size Property
  Syntax
  Argument
  Remark
  Applied to
 Type Property
  Syntax
  Argument
  Remark
  Applied to

VBScript Properties of FSO Folder Object

Some typical predefined Elements are.

  • FSO File Object:
    • Attributes Property: Read/Write Value
    • DateCreated Property: Read-only Value
    • DateLastAccessed Property: Read-only Value
    • DateLastModified Property: Read-only Value
    • Drive Property: Read-only Value
    • Name Property
    • ParentFolder Property
    • Path Property
    • ShortName Property
    • ShortPath Property
    • Size Property
    • Type Property

Attributes Property

last updated 16 Dec 2017

is to set, if optional newattributes is given and attribute is a read/write attribute, or to return the attributes of a folder or file of associated Folder or File Object.

Syntax

fsofolderobjvar.Attributes [= newattributes]
fsofileobjvar.Attributes [= newattributes]

Argument

fsofolderobjvar | fsofileobjvarRequired. to specify the associated Object instance reference.AttributesRequired Keyword. to specify the Property of associated Object.newattributesOptional. If provided, newattributes is the new value for the attributes of the specified object.

Setting

newattributes argument:

ConstantValueDescriptionNormal0Normal file. No attributes are set.ReadOnly1Read-only file. Attribute is read/write.Hidden2Hidden file. Attribute is read/write.System4System file. Attribute is read/write.Volume8Disk drive volume label. Attribute is read-only.Directory16Folder or directory. Attribute is read-only.Archive32File has changed since last backup. Attribute is read/write.Alias1024Link or shortcut. Attribute is read-only.Compressed2048Compressed file. Attribute is read-only.

Remark

  • Always the name of a File or Folder object.

Applied to

Folder Object, File Object

DateCreated Property

last updated 16 Dec 2017

is to return the date and time that the folder or file of associated Folder or File Object was created.

Syntax

fsofolderobjvar.DateCreated
fsofileobjvar.DateCreated

Argument

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

Remark

  • The object is always a File or Folder object.

Applied to

Folder Object, File Object

DateLastAccessed Property

last updated 16 Dec 2017

is to return the date and time that the folder or file of associated Folder or File Object was last accessed.

Syntax

fsofolderobjvar.DateLastAccessed
fsofileobjvar.DateLastAccessed

Argument

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

Remark

  • The object is always a File or Folder object.

Applied to

Folder Object, File Object

DateLastModified Property

last updated 16 Dec 2017

is to return the date and time that the folder or file of associated Folder or File Object was last modified.

Syntax

fsofolderobjvar.DateLastModified
fsofileobjvar.DateLastModified

Argument

fsofolderobjva | fsofileobjvarrRequired. to specify the associated Object instance reference.DateLastModifiedRequired Keyword. to specify the Property of associated Object.

Remark

  • The object is always a File or Folder object

Applied to

Folder Object, File Object

Drive Property

last updated 16 Dec 2017

is to return the drive letter of a drive on which the folder or file of associated Folder or File Object resides.

Syntax

fsofolderobjvar.Drive
fsofileobjvar.Drive

Argument

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

Remark

  • The object is always a File or Folder object.

Applied to

Folder Object, File Object

Name Property

last updated 16 Dec 2017

is to set, if optional newname is given, or to return the name of a folder or file of associated Folder or File Object.

Syntax

fsofolderobjvar.Name [= newname]
fsofileobjvar.Name [= newname]

Argument

fsofolderobjvar | fsofileobjvarRequired. to specify the associated Object instance reference.NameRequired Keyword. to specify the Property of associated Object.newnameOptional. If provided, newname is the new name of the specified object.

Remark

  • The object is always a File or Folder object.

Applied to

Folder Object, File Object

ParentFolder Property

last updated 16 Dec 2017

is to return the parent folder of a folder of file of the associated Folder or File Object.

Syntax

fsofolderobjvar.ParentFolder
fsofileobjvar.ParentFolder

Argument

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

Remark

  • The object is always a File or Folder object.

Applied to

Folder Object, File 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

ShortName Property

last updated 16 Dec 2017

is to return the short name of the associated Folder or File Object for programs require the earlier 8.3 naming convention.

Syntax

fsofolderobjvar.ShortName
fsofileobjvar.ShortName

Argument

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

Remark

  • The object is always a File or Folder object.

Applied to

Folder Object, File Object

ShortPath Property

last updated 16 Dec 2017

is to return the short path of the associated Folder or File Object for programs require the earlier 8.3 naming convention.

Syntax

fsofolderobjvar.ShortPath
fsofileobjvar.ShortPath

Argument

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

Remark

  • The object is always a File or Folder object.

Applied to

Folder Object, File Object

Size Property

last updated 16 Dec 2017

is to return the size in btyes of a folder including all files and subfolders, or a file of corresponding associated Folder or File Object.

Syntax

fsofolderobjvar.Size
fsofileobjvar.Size

Argument

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

Remark

  • The object is always a File or Folder object.

Applied to

Folder Object, File Object

Type Property

last updated 16 Dec 2017

is to return the type of a folder or file of associated Folder or File Object..

Syntax

fsofolderobjvar.Type
fsofileobjvar.Type

Argument

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

Remark

  • The object is always a File or Folder object.

Applied to

Folder Object, File Object

©sideway

ID: 180600008 Last Updated: 6/8/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