I need to extract file name and extension from e.g. my.file.xlsx. I don\'t know the name of file or extension and there may be more dots in the name, so I need to search the
Check the BaseName and Extension properties of the FileInfo object.