+1  A: 

I don't think that is possible with schtasks in Windows XP. You could config it to run a VBScript every ten minutes and in that VBScript you can check weekday and time.

If WeekDay(Date,2)<6 Then
  t=Time
  If t>TimeValue("9:00:00 AM") and t<TimeValue("3:00:00 PM") Then
    Dim WSHShell
    Set WSHShell = WScript.CreateObject("WScript.Shell")
    WSHShell.Run "notepad.exe", 1, false
  End If
End If
Jonas Elfström
Thanks I can do this even with a c program. thank you very much for your advice
Enjoy coding
+2  A: 

Dear friend, You just missed the /MO option. Anyway, I hope you might have solved your problem by now. May be I am late. But still.... So making it very simple, it looks like this schtasks /create /sc minute /mo 10 /tn calc /tr c:\windows\system32\calc.exe I am sure you can put in the other stuff to suit your needs.
Regards, Amroz.

Amroz K. Siddiqui
Thanks for that.
Enjoy coding