Archive: Uninstall Scheduled Task


Uninstall Scheduled Task
I have seen the code to create scheduled task and this is a very nice feature. Is there any way to remove a scheduled task via uninstall (uninst.exe)?


ExecWait `"$SYSDIR\schtasks.exe" /Delete /F /TN "task name"`