String path="D:\\hello\\hello.txt"; File f1=new File("D:\\hello"); if(!f1.exists()) { f1.mkdirs(); File f2=new File(path); f2.createNewFile(); }
62,614
社区成员
307,326
社区内容
加载中
试试用AI创作助手写篇文章吧