C#通过文件路径得到文件夹路径

using System.IO; 

Path.GetDirectoryName(str);    
posted @ 2013-01-14 22:50  quanzhan  阅读(390)  评论(0编辑  收藏  举报