我有个dirMonitor的例程,不知道是否能帮助你。
感兴趣的话,留下e-mail 。