FileSystem.GetParentFolderName() (Method)

A method to extract the parent folder from a path.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:String primitive
JavaScript syntax:IEmyFileSystem.GetParentFolderName(aPath)
Argument list:aPathThe path to a file or folder whose parent is required

Given a path, this method returns the name of a parent folder within that path.