User's Manual
26 Chapter 3
•
•
•
•
•
copy()
Copies the File object to a new filename. The object’s original filename is unchanged.
Syntax
<object name>.copy(
<"source">
);
Parameters
source - specifies a string containing the new filename. The string must be in quotes. If
the string does not specify a file system the default is the write file system. See “File
Systems” on page 14 for more information.
exists()
Returns true if the File object points to an existing file or directory. Otherwise it returns
false.
Parameters
This function takes no parameters.
getFileName()
Returns the filename portion of the object’s path.
Syntax
<object name>.getFileName();
If the object’s full file path is C:\Program
Files\Equilibrium\MediaRich\Shared\Originals\Media\camera.png,
getFileName() returns “camera.png”.
Parameters
This function takes no parameters.
getFilePath()
Returns the full file path for the object.
Syntax
<object name>.getFilePath();
If the object’s full file path is:
C:\Program
Files\Equilibrium\MediaRich\Shared\Originals\Media\camera.png
getFilePath() returns:
"C:\Program
Files\Equilibrium\MediaRich\Shared\Originals\Media\camera.png"










