next up previous contents
Next: isRootFolder Up: Properties Previous: dateLastModified   Contents

drive

Description

String. Returns the drive letter of the drive on which the specified file or folder resides. Read-only.


Syntax

folder.drive


Example

f = new Folder("c:\\demo");
trace(f.drive);
//output: c:




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