Microsoft Scripting Runtime
GetBaseName Method
FileSystemObject Object : GetBaseName Method
Description
Returns a string containing the base name of the last component, less any file extension, in a path.
Syntax
Visual Basic
Public Function GetBaseName( _
   ByVal Path As String _
) As String
Parameters
Path
See Also

FileSystemObject Object  | FileSystemObject Members