Specifications

The fullName of the file, including path, name, and
extension.
fullName : String
The name of the file, excluding its path and extension.
baseName : String
The file name's extension.
extension : String
The expansion of the symlink if the file is a symlink;
otherwise empty.
symLink : String
True if the file exists; otherwise false.
exists : Boolean
True if the file is readable; otherwise false.
readable : Boolean
True if the file is writable; otherwise false.
writable : Boolean
True if the file is executable; otherwise false.
executable : Boolean
True if the file is hidden; otherwise false.
hidden : Boolean
True if reading has reached the end of the file; otherwise
false.
eof : Boolean
The creation time of the file.
created : Date
The last modification time of the file.
lastModified : Date
The last time the file was read.
lastRead : Date
The size of the file, in bytes.
size : Number
The codec being used for reading and writing the file's
contents; see text encoding.
codec: String
Member functions
Opens the file in the mode accessMode (see enum AccessMode) if
possible; otherwise throws an exception.
open( accessMode :
Number )
For example:
profile.open(File.ReadOnly);
Opens a file for reading only.
jobfile.open(File.WriteOnly|File.Translate);
Opens a file for writing and enables line break translation.
Closes the file.
close()
416
Enfocus Switch 10