Jonathan Harker wrote: > system(mycommand); Darn!!! :-) That should have been system(mycommand.c_str()); The c_str() method of a string object returns a const char* for use with C functions such as the system() call. Cheers, Jonathan.