Skip to content
This repository has been archived by the owner on Nov 19, 2023. It is now read-only.

Commit

Permalink
修复整理功能的默认模式
Browse files Browse the repository at this point in the history
  • Loading branch information
chenpuhao committed Dec 26, 2022
1 parent d0844f9 commit 8081d39
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/java/en/Function/Collation.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ public void run() {
} catch (IOException e) {
throw new RuntimeException(e);
}
File word = new File(data + "\\word文件");
File txt = new File(data + "\\txt文件");
File pdf = new File(data + "\\pdf文件");
File powerpoint = new File(data + "\\powerpoint文件");
File excel = new File(data + "\\excel文件");
File word = new File(data + "\\word");
File txt = new File(data + "\\txt");
File pdf = new File(data + "\\pdf");
File powerpoint = new File(data + "\\powerpoint");
File excel = new File(data + "\\excel");
if (!pdf.exists()) {//如果文件夹不存在
pdf.mkdir();//创建文件夹
}
Expand Down

0 comments on commit 8081d39

Please sign in to comment.