"How to start a different task when other task stops" in windows xp.By using task scheduler it has to happen. either programmetically or through command line.
Asked
Active
Viewed 78 times
1 Answers
1
You will have to make the "if done, then start" logic within the task executable itself. Meaning, schedule a task that calls a batch file, VB script or PowerShell script. That script will call the command that you want (for example, ntbackup
, robocopy
, whatever it is that you're doing) and then on the last line it will call schtasks.exe
to trigger the next command.
Other than that, there is no built-in capability to call another task upon successful completion of one within Windows XP (that I am aware of).

Wesley
- 32,690
- 9
- 82
- 117
-
No command is there to do my work? – abcdefgh Apr 18 '12 at 05:47
-
@abcdefgh - I think Wes's last sentence pretty much sums it up: `...there is no built-in capability to call another task upon successful completion of one within Windows XP` – Mark Henderson Apr 18 '12 at 05:56
-
yaya k thank you.. i will try to work on it. thanks again – abcdefgh Apr 18 '12 at 06:00
-
can u give the script with any 2 task names let us say "task1,task2". – abcdefgh Apr 18 '12 at 06:12