Schtasks for XP Home

Revision as of 11:01, 11 February 2008 by WPKGSysop (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Revision as of 11:01, 11 February 2008 by WPKGSysop (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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>