bFind = finder.FindFile("f:\\open\\dataname\\*.*");
while(bFind)
{
    bFind=finder.FindNextFile();
             dataNamePath = finder.GetFilePath();
             DeleteFile(dataNamePath );
}
这个是便利检索一个文件夹,把所有文件都删除掉的程序。文件全删除后文件夹清空,程序也就停止运行了,不再查找有没有文件存在了,此时如果文件夹中新增了一个文件,该程序也检测不到;
现在我想实现:程序一直在运行文件查找,该文件夹中随时有新文件出现,一旦出现新的文件就立马删除,该怎么控制呢?请各位高手帮忙啊!