Windows 7 Schtasks - Import XML

ina

New Member
I am making a program. I want to import XML file to schtasks.exe, I have to set the path of the program.

Here's the part of XML code :
Code:
<Exec>
      <Command>"C:\MyPath\program.exe"</Command>
      <Arguments>/copy</Arguments>
    </Exec>

In my opinion, I have to set the path as variable, so the program will set the variable as the path.

Another opinion, I just make the XML file as a resource file, but I don't know how to set the path, userid, author etc.

What do you think? I need some suggestion.
 
Back
Top