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
//run -n cmd /C tracert > 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


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