Jump to content
Sign in to follow this  
grasshopper3

dir/folder watcher/monitor

Recommended Posts

grasshopper3

Hi,

I have created a script to organize a folder for me. currently I have the script running as a scheduled task. I would prefer to have the script run immediately after a file has been dumped/added in to the folder. I was wondering if anyone has already developed a script that watches a directory and were willing to share some of the source code. If not, I would at least appreciate a point in the right direction on how to go about creating my own.

Thanks!

Share this post


Link to post
Share on other sites
somdcomputerguy

I would think _FileListToArray could be used for this. Just keep checking, and when [0] increases..


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

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.