File
JScript3.0+Syntax
Core JScript object created by calling the ActiveXObject() method and passing Scripting.FileSystemObject.
Description
The File object provides access to all the properties of a file. The File object has specific properties and methods associated with it, shown in Table 9.9.
Property/Method | Description |
---|---|
Attributes | Refers to the attributes of the file |
Copy() | Copies a file from one location to another |
DateCreated | Returns the date a file was created |
DateLastAccessed | Returns the date a file was last accessed |
DateLastModified | Returns the date a file was last modified |
Delete() | Removes a file |
Drive | Returns the drive on which a file exists |
Move() | Moves a file from one location to another |
Name ... |
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.