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.

        name="schtasks for XPHome"
        <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"' />