It's called YGF, but it doesn't use the variable - it just passes it TO whatever it calls - so that could be another app, or a batch file or in this case a script. I don't need to use it at all. It scans a set of folders every 60 seconds and performs functions of whatever it finds - mostly sends emails, but will do more. I could write a different batch file for each folder but wanted to simplify it and have it call one script. I don't even know if it'll work.