检查文件是否存在,大家都是用什么方法?
System.IO.File.Exists(path)
这个方法我表示如果文件名中出现中文状态下的小括号()或大括号{}等...,则返回false.
发布时间: 2013-08-01 15:23:18 作者: rapoo
检查文件是否存在,大家都是用什么方法?
System.IO.File.Exists(path)
这个方法我表示如果文件名中出现中文状态下的小括号()或大括号{}等...,则返回false.