Hi all, Thanks for all the help, on both lists, with replacing the backtick operator (with popen()) and doing random numbers (with rand() and srand()). Your suggestions worked beautifully. SteveT Steve Litt Author: Universal Troubleshooting Process books and courseware http://www.troubleshooters.com/