as tile~
so far, I did output a dir.txt that listed all the targets with this CMD code:
D:\>dir /s /b Parent\*.txt >D:\dir.txt
inside dir.txt:
D:\Parent\Sub1\Fbs.txt
D:\Parent\Sub2\2-1\Mgr.txt
D:\Parent\Sub2\2-2\Rdr.txt
D:\Parent\Sub2\2-2\Std.txt
................
but i need the form like this(with # mark and file content):
#### D:\Parent\Sub1\Fbs.txt ####
Fbs: 78952
no comment
#### D:\Parent\Sub2\2-1\Mgr.txt ####
Mgr: 78965
comment: pass
#### D:\Parent\Sub2\2-2\Rdr.txt ####
Rdr: 45852
comment: fail
#### D:\Parent\Sub2\2-2\Std.txt ####
Std: 45857
comment: pass
................
How can I do it with CMD code or bat file?
THX!