Please ignore my last request for further assistance with interfacing C to shell. popen() works just fine; it was another part of my code that was causing problems. Thanks to everyone who sent me responses. Rose