String myDelFile = "/*文件名及路徑*/"; Runtime runtime = Runtime.getRuntime(); try{ runtime.exec("CMD /C DEL "+myDelFile); }catch(Exception e){ }
67,550
社区成员
225,863
社区内容
加载中
试试用AI创作助手写篇文章吧