Subj : How to execute a shell command To : borland.public.cpp.borlandcpp From : "Siemel Naran" Date : Fri Jan 30 2004 09:43 pm Hi. I am writing a computer program and have a command in a string. How do I execute that command as a DOS command? The following illustrates what kind of thing I'm looking for std::string command("dir h*.txt"); dos_execute(command); Thanks in advance! .