Running batch files sequentially in win 7 task scheduler

前端 未结 3 1562
予麋鹿
予麋鹿 2021-02-07 10:34

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

3条回答
  •  北海茫月
    2021-02-07 11:21

    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.

提交回复
热议问题