2013-01-08 45 views
2

的多個日子裏,我嘗試使用命令行來創建此計劃的任務創建任務:如何使用SchTasks.exe會用一個月

enter image description here

enter image description here

我想:

schtasks.exe/Create/tn test1/tr notepad.exe/sc montly/m jan,feb/d 12,27

但似乎/ d只能得到一個參數,例如:/ d 12

如何創建與嚮導中相同的任務?我想創建一個每年12月和27日運行的任務。

謝謝, Inbal。

回答

0

我發現這樣做的唯一方法是使用xml並將其作爲參數傳遞給/ create命令。