Subj : Re: How to execute a shell command To : borland.public.cpp.borlandcpp From : "Ed Mulroy [TeamB]" Date : Sat Jan 31 2004 11:25 am string command("dir h*.txt"); system(command.c_str()); .. Ed > Siemel Naran wrote in message > news:401b4069$1@newsgroups.borland.com... > > 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); .