Here's the situation. On a Win 2K3 server, I have software monitoring a folder. It checks every two seconds for new subfolders - I cannot change the scan intervals. When it finds new subfolders, it processes them immediately; however, if the subfolders have an incomplete set of files,they do not process properly. The data is being transferred using DeltaCopy from a remote site. During the transfer, DeltaCopy names the files currently being transferred as .filename.ext.abcd (abcd is a random set of letters). When the file has completed it is renamed with the original filename.ext. I need to have a recursive scan of each subfolder until all files in the subfolder are completely downloaded and then move that subfolder to the monitored folder.
Does anyone have a script up there sleeve that will work for this situation?