Subj : Re: Redirection of child process. To : borland.public.cpp.borlandcpp From : Ed Mulroy [TeamB] Date : Thu Aug 05 2004 07:26 am Redirection is done by the command interpreter. The command line would be something like this: command.com /C filename.exe arg list >nul For best results do not use command.com. Instead use the name saved under the environment variable COMSPEC That way it will still work if 4DOS or other substitute interpreter is running. .. Ed > Rajesh Murthy wrote in message > news:4111b653@newsgroups.borland.com... > Hi: > > I want to redirect the output of a child process (DOS 16 bit > console appl.) to the "nul" device. I am using the spawn > function. Please anybody help! .