I'm on a windows machine (XP) and eventually I’d like to have a file or text emailed to me as it appears in a directory.
The emailing part is fine. What is the most efficient way of starting a script when the file appears in a directory so that it's not soaking up resources in the meantime? It doesn't necessarily have to be immediately sent, but within an hour would be nice.