Microsoft Scripting Runtime
GetExtensionName Method
FileSystemObject Object : GetExtensionName Method
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

FileSystemObject Object  | FileSystemObject Members