المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Creating a live service in c#



C# Programming
02-13-2010, 01:21 AM
I've been asked to write a script that runs on certain files across a server. These files are always stored within the same ******** within each top level folder e.g

Server\folder1\mydoc\file
Server\folder2\mydoc\file
Server\folder3\mydoc\file
Server\folder4\mydoc\file

So I have a script that runs on 'file'

I need this script or another program to monitor 'Server' finding all 'files' in that ******** to process and also to find 'file' whenever a new folder eg 'folder5' is created.

Is this even possible? I have no idea how to proceed or what to start reading up on to work out how to be able to do this.

Many Thanks