■ パスから拡張子を取得する

下記の 2つの方法で .exe の部分を取得できています
ファイル操作を連続で行うなら @の方法で FileInfo を格納するインスタンス変数を作成すると効率がよいかも知れません
※ファイルが存在しなくてもエラーになることはありません

@ Debug.WriteLine(New System.IO.FileInfo("C:\WindowsNotepad.exe").Extension)
A Debug.WriteLine(System.IO.Path.GetExtension("C:\Windows\Notepad.exe"))

'' @で FileInfo を格納するインスタンス変数を作成する方法
Dim fi As New System.IO.FileInfo("C:\Windows\Notepad.exe")
Debug.WriteLine(fi.Extension)