One of the programs we use at work creates a data file that lists filenames of information files that we use to scan in the work we've done that day. However, some of the work we do can't be logged in this way, but is still in the data file. The file name of a good file looks like "m:\trumpf9\ncdone\rueck685.txt:DA,'5969','596993','596909300',11,11,2210,'' while a bad one looks like anything except this, for instance "m:\trumpf9\ncdone\rueck686.txt:DA,'CP_TAPESHOT',1". Is there anyway to make a macro that will kill any file that doesn't match the format of the first filename? Also, some of the files have an extra "'0'," at the end of the string, or they have some of the numbers replaced by "'*'," so I'm not sure how to work around those problems.