Use the following code, all *.txt will be changedto *.new (tested in UNIX)
import java.io.*;
public class temp{
public static void main(String[] args){
File f = new File(".");
File[] children = f.listFiles();
for (int i=0;i (more...)
thanks
本帖共有 5 楼,当前显示第 4 楼,本文还有 N-1 层楼,要不你试试看:点击此处阅读更多 >>