Bob,
You can also use ShellExecute() to do DOS commands, there is an article on my website showing you how to do most things.
>An application runs DOS commands using the "!" command.
>When the DOS command completes the operator has to exit the DOS window manually for the program to proceed.
>How can that DOS window be closed from the Fox program?