Microsoft Scripting Runtime
IFileSystem3 Object / GetExtensionName Method
In This Topic
    GetExtensionName Method
    In This Topic
    Description
    Returns the extension (for example "txt" or "exe") of the last component in a path.
    Syntax
    Visual Basic
    Public Function GetExtensionName( _
       ByVal Path As String _
    ) As String
    Parameters
    Path
    See Also