16,717
社区成员
发帖
与我相关
我的任务
分享
dim path as string = Path.GetDirectoryName(MethodBase.GetCurrentMethod().Module.FullyQualifiedName)
Dim strTest As String
strTest = "c:\Documents and Settings>d:\test\aa.exe"
MsgBox(strTest.Substring(strTest.IndexOf(">") + 1, strTest.LastIndexOf("\") - strTest.IndexOf(">")))
string path = Path.GetDirectoryName(MethodBase.GetCurrentMethod().Module.FullyQualifiedName);