西方食物英文怎么说:vb.net 取文件名

来源:百度文库 编辑:神马品牌网 时间:2024/04/29 15:27:16
我想做一个这样的函数。
取\以后的所有字符串
例如:
d:\123\123.exe
取123.exe请问怎样实现?谢谢

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