24岁女子跳江后反悔:vb.net 取文件名

来源:百度文库 编辑:杭州交通信息网 时间:2024/07/07 11:25:18
我想做一个这样的函数。
取\以后的所有字符串
例如:
d:\123\123.exe
取123.exe请问怎样实现?谢谢

Dim fileinf As New System.IO.FileInfo("d:\123\123.exe")
MsgBox(fileinf.Name)