Hi,
i' m struggling a bit with extracting a specific line of a txt files.
I need this info from more then 2000 files.
The files are all in one folder.
The files looks like this
44256_mtestermd_DOC.txt
44256_mtestermd_PST.txt
44256_mtestermd_DESK.txt
Example file:
Volume in drive C has no label.
Volume Serial Number is xxxxxxxx
Directory of C:\Documents and Settings\mkerckwe\Desktop\0017418200 FC Bam [COPY]\Correspondentie-JRO
24/10/2011 15:57 1.568.424.960 MailbestandenO.pst
21/11/2011 08:58 564.806.656 MailbestandenO2.pst
2 File(s) 2.133.231.616 bytes
Directory of C:\Documents and Settings\mkerckwe\Desktop\002239 FC bla
21/11/2011 15:30 34.554.880 2239_FCtest_laptop.pst
1 File(s) 34.554.880 bytes
Directory of C:\Documents and Settings\mtesx\My Documents
21/11/2011 14:23 42.681.344 FCtester.pst
24/10/2011 15:57 331.170.816 Mtesrm.pst
24/10/2011 15:57 442.909.696 Maitesr3.pst
3 File(s) 816.761.856 bytes
Total Files Listed:
6 File(s) 2.984.548.352 bytes
0 Dir(s) 19.682.029.568 bytes free
COMPLETE-----------------------------------------------------
End example file
I need the following info from each file and add it to a cell.
6 File(s)
2.984.548.352
if "COMPLETE------------------------------------" is found in the file
My sheet should look like this:
A B B C D E F
1 44256_mtestermd_DOC.txt 44256 mtestermd DOC 2.984.548.352 6 File(s) EOF found
2
I hope someone can help me with this.
Sorry for my bad English!
Thx in advance!
Grts,
DWloko32
Bookmarks