|
'runwait' equivalent I'm not sure if this question has been asked but searching returned nothing.
Is there an easy way to wait until a process is complete when invoking native
commands?
What I'm doing is writing a script to measure the time it takes to map a
printer using con2prt.exe. Each line is asynchrynously executed so obviously
the measurements by measure-command are incorrect.
Thanks in advance. |