FileSystem.GetFileName() (Method)

A method to extract a file name from a path.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:String primitive
JavaScript syntax:IEmyFileSystem.GetFileName(aPath)
Argument list:aPathA full or relative path to examine

Given a file path, this method extracts and returns the file name portion of it.