对于CreateDirectory
API(特别是托管的API):https://stat.ethz.ch/R-manual/R-devel/library/base/html/lapply.html
Directory.CreateDirectory Method (String, DirectorySecurity)
如果目录存在,此调用是否也会更新DirectorySecurity?
或者自创建失败以来它默默地忽略。文档没有提到这一点。它只说:https://msdn.microsoft.com/en-us/library/54a0at6s(v=vs.110).aspx