HI
Try the exec+ vi. You will find it on NI web side.
http://digital.natinst.com/explprog.nsf/75c7cd5de6d387788625663d00558a4c/ebf
11dd1f0feaef3862566790072a983?OpenDocument
"Description: These VIs make calls to the Windows API for managing and
controlling windows (minimize, maximize, move, resize, rename, close, etc.);
managing applications (run application, quit application, print file, etc.);
adding and removing network resources; keyboard filtering; and system
utilities (mouse cursor position, windows path, screen resolution, system
path, etc.). These VIs are intended for use on 32-bit Windows platforms
only."
Geir Kåre Refstie
geirkr@online.no
wrote in message
news:7oac6b$2j6$1@nnrp1.deja.com...
> Anyone know of a better VI than
"exec" to run a dos program.
>
> The problem is, that the exec vi does NOT wait for it to complete.
> I can see that its being called but it doesnt allow it to finish.
> The use of a wait VI did not do anything, since the dos window
> is already closed at that point.
>
> Eric
>
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.