Description
String. Returns the folder object for the parent of the specified file or folder. Read-only.
Syntax
file.parentPath
Example
f = new File("c:\\demo\\1.txt"); trace(f.parentPath); //output: c:\demo