Sign in to follow this  
Followers 0
willyfoo

Trigger on changes in Directory

3 posts in this topic

Anybody knows how to achieve minimal system resources to detect for any changes made to a directory/folder (eg. New file, changed file) to trigger running a function?

I've tried polling every 0.x seconds but don't feel it's the most efficient.

Share this post


Link to post
Share on other sites



The closest lead I have is http://www.thescarms.com/vbasic/FolderSpy.asp

It uses FileSystemObject of scrrun.dll

Worst case scenario is to run the above program and do an adlib on it to detect for it's aleart but how to access the FileSystemObject directly to achive the same effect?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0