Chapter 7. File and Folder Object Reference
Overview
Because path name syntax is very different in Windows, Mac OS, and UNIX, the File
and Folder
objects are defined to provide platform-independent access to the underlying file system. A File
object is associated with a disk file; a Folder
object with a directory or folder.
The
Folder
object supports file-system functionality such as traversing the hierarchy, creating, renaming, or removing files, or resolving file aliases.The
File
object supports I/O functions to read or write files.
File
and Folder
objects can be used anywhere a path name is required, such as in properties and arguments for files and folders.
For a description of the path name syntax and object usage, see Chapter 4, “Using File ...
Get Adobe® Bridge® Official JavaScript Reference 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.