I am creating a rule that checks messages when they arrive based on key subject words. Then 'start application' runs a process (DOS Batch file) that creates/captures a log file (net view > myfile.txt). Then some VBA runs that attaches myfile.txt to a new email and sends that out automatically.
Everything works except that the rule does not wait for the batch to complete before firing the VBA. As a result the myfile.txt that is sent is the one from the previous time the batch was run. The rule also ignores pauses in the batch file. Sending the requesting email twice gives me the data I want, but it is a workaround and I'd rather have a solution...
Thanks in advance!
Scott
Everything works except that the rule does not wait for the batch to complete before firing the VBA. As a result the myfile.txt that is sent is the one from the previous time the batch was run. The rule also ignores pauses in the batch file. Sending the requesting email twice gives me the data I want, but it is a workaround and I'd rather have a solution...
Thanks in advance!
Scott