为啥不用java直接获取呢?File file = new File("C:/xxxx") String[] fileNames = file.list(); File[] files = file.listFiles();
为啥不用java直接获取呢?