摘要: string path = "C:\\dir1\\dir2\\foo.txt"; string str = "GetFullPath:" + Path.GetFullPath(path) + "\r\n"; str += "GetDirectoryName:" + Path.GetDirectoryName(path) + "\r\n"; str += "GetFileName:" + Path.GetFileName(path) + "\r\n"; st 阅读全文
posted @ 2014-03-24 14:38 Y.G.H 阅读(769) 评论(0) 推荐(0) 编辑