Possible Duplicate:
C# to loop through folder until it finds the correct files
Is it possible to use c# polling to monitor a folder for "required" files? I am running a batch file which requires certain files to be in the folder. If the files are not there and batch job cancels automatically. I am just wondering if I can use ploling to monitor the folder and once they are available I would like the batch file to continue. Thanks