Schtasks for XP Home

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

Schtasks is an utility that can create, delete, edit, list, start or stop a scheduled task. Command line parameters are listed e.g. here.

schtasks.exe is in Windows XP Professional by default while in Windows XP Home Edition it is not available.

This entry copies schtasks.exe from the server to c:\windows\system32\ folder on XP HE.

<package
        id="schtasks"
        name="schtasks for XPHome"
        revision="1"
        reboot="false"
        priority="8">
        <check type="file" condition="exists" path="C:\WINDOWS\system32\schtasks.exe" />
        <install cmd='cmd /c "copy %SOFTWARE%\schtasks\schtasks.exe C:\WINDOWS\system32\"' />
        <remove cmd='cmd /c "del c:\windows\system32\schtasks.exe"' />
</package>