开发者

How to start the 'Scheduled Task Wizard' in C#?

I'd like to start the 'Scheduled Task Wizard' from the click of a button in my C# project. Anyone have 开发者_如何转开发any idea how to do this?

Note: I am not interested in creating/starting or stopping a task programatically, I just want to start the wizard and/or the Scheduled Tasks folder and/or both.

I apologize if this has been answered before but I couldn't find it.


You can probably use the Process.Start method to kick off the following command:

%SystemRoot%\system32\taskschd.msc /s


The closest you can get is control schedtasks, but it won't open the actual wizard, just the scheduled tasks list.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜