Is there a way for mirc to wait for external commands to finish before it moves on to the next part of a script?

Lets say i want to trace an address using tracert
Code:
//run -n cmd /C tracert yahoo.com > trace.txt


since i dont know how long to wait, i was wondering if there was a snippet around that would let me catch the data after the command finishes.


hope this makes sense


thanks


keek: Scots - intr.v. keeked, keekĀ·ing, keeks
To peek; peep.