The part I don't know how to do is have another program monitor that folder where the new files are created.
Why not have the program that creates the file do the emailing? Or if you think that will take longer than the 30 seconds that it would normally sleep for, have it create the file and then run (detach) the program that will do the emailing.
That way, the email program doesn't have to sit and poll a directory, it just gets run when required, with the name of the file to email being passed as a parameter.
In reply to Re: Directory Questions - How would I do this?
by BrowserUk
in thread Directory Questions - How would I do this?
by jdlev
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |