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