Windows 7 Schtasks - Import XML

Discussion in 'Programming and Scripting' started by ina, May 19, 2010.

  1. ina

    ina New Member

    Joined:
    May 18, 2010
    Messages:
    4
    Likes Received:
    0
    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.
     

Share This Page

Loading...