Question Locked

Something to automatically remove files from a folder.

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Okay this is what I need to accomplish, I have a piece of software that interfaces with another third-party application to provide images to my users. The problem here is that Software company A recently released an upgrade that makes Software Company B's application not work properly. I have spoken with both companies and been told that a patch will not be released for the next 6-9 months. This is obviously a problem, so what I need is a utility, script, or program that can do the following:

1) Monitor a specific folder for activity it needs to check it every three to four seconds
2) Find all files with the following extensions ".BG" and ".FG"
3) If these files are found they need to be removed.
4) This needs to be running constantly, so possible as a service or as a background application.
5) Needs to run on a Windows 2000 Server

If anyone has any thoughts on how this can be accomplished please let me know.

Sincerely,

LR

4 replies

by levi.rogers

Wow thank you so much. I had spent a good deal of time browsing through there archives and had not seen this script. I appreciate your response. This appears as though it is exactly what I need.

Thanks,

LR

by dan.cox

I am happy that i was able to point you in the right direction.
Can you give me a thumbs up on my first reply post if you liked it?

This discussion is closed to new replies.