I have a small program that I would like to run automatically. I figure the best way to do this is to add it to the Windows Scheduler. I'd like to be able to run my program once, and in it have it check to see if it is already added in the Scheduler, and if not, add it.

So i need code to:

* Check Scheduler for a task with the name I give in the code
* Add my program to Scheduler if it isn't there