import java.io.*; import java.io.FileReader; public class rrr { public static void main(String args[])throws IOException { String p="E:\\folderA"; File dir=new File(p); File[] files=dir.listFiles(); for(File f : files) if(f.isFile()) { BufferedReader ins=null; ins=new BufferedReader(new FileReader(f)); String line; System.out.print("["); System.out.print(f.getName()); System.out.print("_DINAMALAR_DATE]\n"); { while((line=ins.readLine())!=null) { System.out.println(line); } } }}}
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)