0

Can any one please help me letting me know the Powershell command to create a folder in Task scheduler? I have created the script to create task in separate folder but if the folder is not there I need to create one.

Cannot find any command even after Googling a lot.

It will be great if any one can help me out.

4

1 回答 1

1

使用 schtasks.exe。也许答案在这个主题中:SchTasks.exe to create a task folder

schtasks /create /xml "MyTask.xml" /tn "My Task Folder\My New Task"
于 2013-08-06T08:20:27.470 回答