I’m running a batch to do an update to my sql table. I’m using windows scheduler to run the batch file. Each day files come in at different time. Sometime they come in after my
Read about FileSystemWatcher Class here
FileSystemWatcher
Looping will consume 100% of CPU