package cn.lyc;


import java.io.IOException;

public class Dir2 {
public static void main(String[] args) throws IOException {
//Windows 系统下删除目录
Runtime runtime = Runtime.getRuntime();
runtime.exec("cmd /k rd /S /Q C:\\Users\\86176\\Desktop\\abc");
}
}
posted on 2021-01-20 13:45  liuyunche  阅读(199)  评论(0编辑  收藏  举报