This example loads the STFF found at c:\mytasks\example.amt, overwriting the contents of the current task with the steps and properties of the example.amt task file.
Sub Main
CurrentTask2.LoadFromFileEx (田:\mytasks\example.amt, 0)
End Sub