Under XP and earlier versions of the Task Scheduler, the Data and Documentation properties overlap. Are you setting the Documentation property? If not, then this does work. Make sure you register the task after setting the Data property and before reading it again.
↧