next up previous contents
Next: path Up: Properties Previous: name   Contents

parentPath

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




Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.