Jump to content
Sign in to follow this  
willyfoo

Trigger on changes in Directory

Recommended Posts

willyfoo

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
willyfoo

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.