Private Sub Form_Load()
file_name_full = "c:\windows\command\cmd.com"
file_path = Left(file_name_full, InStrRev(file_name_full, "\"))
file_name = Right(file_name_full, Len(file_name_full) - InStrRev(file_name_full, "\"))
MsgBox file_path
MsgBox file_name
End Sub