【发布时间】:2010-11-27 01:03:25
【问题描述】:
当我在 C:\ 中使用 System.IO.Directory.GetFiles 方法时,会引发错误:
Access to the path 'c:\System Volume Information' is denied.
我该如何处理?
【问题讨论】:
-
waqasahmed:这是标记评论的好方法。
标签: c# exception-handling io
当我在 C:\ 中使用 System.IO.Directory.GetFiles 方法时,会引发错误:
Access to the path 'c:\System Volume Information' is denied.
我该如何处理?
【问题讨论】:
标签: c# exception-handling io
这是一个隐藏的系统文件夹,您收到此错误的原因是您的应用程序在您的本地帐户下运行。
【讨论】: