I have a job which creates a scheduled task with a string like this: RunOnce072000, where 072000 is the time the scheduled task was created. I need to delete the scheduled task by command line but cannot figure out a way to use a wildcard to perform the delete.
Has anyone got any ideas?
I have a job which creates a scheduled task with a string like this:
Share
Assuming you are using a Windows dos prompt, if you can work with “at” (which doesn’t associate names with jobs), you will certainly run:
So perhaps using a for loop would solve your problem:
Take care of the quotes, which “at” removes if there are no arguments to the at-ed command, and of the error state, which is translated (there, in french).