Windows 7 box has a list of scheduled tasks - > Default Windows tasks + Certain custom tasks that all start with a certain string. Previous code deleted all tasks with the command:
schtasks /Delete /TN * /F
Instead we want to retain the default Windows tasks, and selectively delete the tasks that start with a certain string say abctask1, abctask2. How to proceed further? Thanks!
schtasks /Delete /TN abctask* /F? – Jonah Bishop Sep 20 '12 at 13:56/queryoption, loop through them finding the ones that match your desired pattern, and kill them off using their full names. Something like a Perl script might be best for this kind of task. – Jonah Bishop Sep 20 '12 at 17:21