Running batch files sequentially in win 7 task scheduler

前端 未结 3 1604
予麋鹿
予麋鹿 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

    It's possible using Windows Scheduled Tasks for Windows 7, Windows Server 2008 R2, Windows Server 2012, Windows Vista.

    From Microsoft documentation:

    A task action is the work that is performed when the task is run. A task can have a single action or a maximum of 32 actions. Each action contains settings that determine how the action is performed. A task's actions are displayed on the Actions tab of the Task Properties or Create Task dialog box. When multiple actions are specified, they are executed in sequential order starting with the action at the top of the list in the Actions tab...

提交回复
热议问题