|
-
Feb 7th, 2011, 11:17 AM
#1
Thread Starter
New Member
Find and extract data from text files
Hi guys, sorry to be a newbie. I have attempted to find a solution everywhere and this was my last resort.
I have a folder named 'Output' , this folder contains 200-300 .txt files.
Each file when opened has an ID a timestamp and a status the following format
ID: 1073863
TIMESTAMP: 07/02/2011 16:12:05
STATUS:Good
I want to write a script in VB so that on button press I can obtain the ID's
from all those with a status of 'Bad' and save them in a file delimited by new lines and then delete the files with the 'Bad' status from the folder.
Any help or ideas with this would be greatly appreciated.
Kind Regards
Minimatrix
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|