hai, you could use the popen function uday. > If I say system ("pwd"), a child will be created, the command will be > executed, print on std output and then the child dies. > > Thanks, > Srinath. > _______________________________________________________ Get 100% FREE Internet Access powered by Excite Visit http://freelane.excite.com/freeisp