運用CACLS.EXE指令實作,代碼如下: System.Diagnostics.Process.Start("CACLS.EXE","D:\\A /E /T /G ASPNET:F"); 指令說明: System.Diagnostics.Process.Start(