本文介绍了如何在c中为此WMI调用设置StartTime的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hai.

i创建wmi函数以安排任务.

我将参数设置如下

hai.

i Creating the wmi function to schedule the task.

parameter i set as follows

method.SetInParam(L"Command",chFileArgs);
        method.SetInParam(L"DaysOfMonth",65536);
        method.SetInParam(L"DaysOfWeek",8);
        method.SetInParam(L"StartTime",?????);



如何设置开始时间(???????)

我可以给定开始时间作为方法.SetInParam(L"StartTime",L"20111117120555.000000 + 320");

但是如何给用户输入.在那个地方..



how to set the start time (???????)

i can give start time as method.SetInParam(L"StartTime",L"20111117120555.000000+320");

But how to give user input. in that place ..

推荐答案


这篇关于如何在c中为此WMI调用设置StartTime的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-18 15:35