• 0

Monitoring a Directory and deleteing files.


Question

I have been trying to monitor a directory on my harddrive, and delete any .tpr fiels that are created.

Im lost thow, can anyone offer some help?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hmmmm

You could use a timed event to check if any such files exist and delete them?

I know it's not the same as actually having an "agent" type application monitoring a directory, but would this idea work for you?

Link to comment
Share on other sites

  • 0

/me is teh noob.

I am no more then a novice now...but.

VB 2005 has a Filesystem monitor, i dont dont know how to use it in key with FileSystem.Kill command.

Your idea could work, but how do i check? I cant figure out how to check for *.tpr, just fill names like D2761A999E9EFDA343A57D99C58800174E5B76A5.tpr

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.