nsIFile:leafName
From MDC
« XPCOM API Reference
[edit] Summary
This attribute exposes the name of the nsIFile without any directory components.
attribute AString leafName;
[edit] Remarks
Changing the leaf name of a nsIFile does not affect the underlying filesystem. It only changes what this nsIFile references.