package IOlv.QQzhaopian;
import java.io.*;
public class Test {
public static void main(String[] args) throws IOException {
File f = new File("D:\\img");
String[] f2 = f.list();
for (int i = 0; i < f2.length; i++) {
FileInputStream fi = new FileInputStream("D:/img/"+f2[i]);
FileOutputStream fo = new FileOutputStream("D:/dd/"+f2[i]);
int date = 0;
if ((date=fi.read()) != -1) {
fo.write(date);
}
fo.close();
fi.close();
}
}
}
复制图片s
最新推荐文章于 2024-08-15 14:09:45 发布