2011年1月5日

摘要: 获取文件夹GetCurrentDirectory可以获取应用程序的当前工作目录;GetDirectories可以获得指定位置的目录声明代码如下:获取当前应用程序的当前工作路径PublicstaticstingGetCurrentDirectory()获取指定目录的子目录,返回一个字符串数组Publicstaticstring[]GetCurrectories(stringpath);使用指定的搜索模式,获取指定目录中的子目录,搜索模式可以使用通配符进行搜索,返回字符串数组Publicstaticstring[]GetCurrectories(stringpath,stringsearchPat 阅读全文

posted @ 2011-01-05 18:05 lichen396116416 阅读(720) 评论(0) 推荐(0)