I have 2 batch files as \"actions\" in a single task. The first one does a scan for viruses using microsoft security essentials. The second one puts the computer to sleep. Th
Another way is for the action to contain START /W C:\MyScript.bat The /W is a parameter for the start command to wait for completion before returning control.