Folder

JScript3.0+Syntax

Core JScript object created by calling the GetFolder() method of the FileSystemObject object.

Description

The Folder object, when created, provides access to all the properties of a folder. This object is created by using the GetFolder() method of the FileSystemObject object. The folder passed is the name the folder for which you want to create a JScript object.

Table 9.14 contains a list of methods and properties of the Folder object.

Table 9.14. Methods and Properties of the Folder Object
TypeItemDescription
MethodCopy()Copies the folder from one location to another
 Delete()Deletes the specified folder
 Move()Moves the specified folder
PropertyAttributesSets or returns the file system attributes of the folder
 DateCreated ...

Get Pure JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.