|
■No57310 (shu さん) に返信 String^ dirt = "D:\\aaa\\bbb\\"; try{ for(int i=0;i<1000;i++){
Directory::CreateDirectory( dirt ); Directory::CreateDirectory( dirt + "aa" ); Directory::CreateDirectory( dirt + "bb" ); Directory::CreateDirectory( dirt + "cc" ); Directory::CreateDirectory( dirt + "dd" ); Directory::CreateDirectory( dirt + "ee" ); Directory::CreateDirectory( dirt + "ff" ); Directory::CreateDirectory( dirt + "gg" ); Directory::CreateDirectory( dirt + "hh" ); Directory::Delete( dirt, true ); } }catch( Exception^ e ){ result = false; } Directory::Deleteで発生してしまいます。
|