O'Reilly logo

Adobe® Illustrator® CS2 Official JavaScript Reference by Adobe Systems Incorporated

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. 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 pathname syntax and object usage, see Chapter 4, “Using File and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required