1. redirection
- Posted by Beaumont Furniss <bfurniss at IHUG.CO.NZ> Jun 07, 2000
- 509 views
Okay this is about redirection , from the dos command line or through a system( ) type call ; the two being essentially the same I hope. system("afile.* > bfile.*",2) for instance appears to transfer [ command line ? ] data to bfile.* from afile.* . What of double re-direction though , afile.* < > bfile.* , from within a system() call or the operator ; afile.* >> bfile.* , again from within a system call ? How is data transferred to bfile.* from afile.* , when using redirection, is the disk used or is the RAM , what exactly is the mechanism involved. I wish to use command line parameters and redirection to : 1. Generate data within an external u4.ex , from a system() call from another file hed.ex or hed.exe . ---------. .---------. | hed1.* |=========>| u4.ex | | | system() | | .---------' ;---------' 2. Redirect the data , generated within u4.ex , to another file , to be read by hed1.* ; or if possible return [ redirect ] the data from u4.ex to hed1.*. I wish to keep disk activity to a minimum and get hed1.* to do most of the data manipulation. Net-Tamer V 1.11 - Test Drive