Trypsim
asked on
Removing a Scheduled Task: using schtasks
I am looking for a simple way to delete a specific task from a system. I have tried this from the commandline and it works correctly, I am trying to do this programatically from within the C# development envrionment.
string TaskPram = "/delete /s computername /TN: \"Backup_Sys\" /F";
System.Diagnostics.Process.Start("schtasks", TaskPram);
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
also try with schtasks.exe instead