0

I've googled and seached super user for this but haven't found anything. I wan to set the option "If the tasks is not scheduled to run again, delete it after:" using schtasks, or if thats not possible if you know another way to set that option in a scheduled task.

Edit: This needs to be via command line

5
  • Sorry should have made it clear, it needs to be via command line.
    – Aftab
    Jun 16, 2015 at 12:58
  • So what commands are you using to create a task already? Jun 16, 2015 at 12:59
  • I'm using schtasks.exe
    – Aftab
    Jun 16, 2015 at 13:02
  • So you want to edit already existing tasks? Or you want to create a task with this particular flag? Jun 16, 2015 at 13:03
  • Either is fine, I have to create tasks regularly so it'll be easier to do it while its being created, although I have no objection to modifying it after the fact if that is the only option.
    – Aftab
    Jun 16, 2015 at 13:11

0

You must log in to answer this question.

Browse other questions tagged .