@SpriggsySpriggsI suspected the shell way would be slower. If you don't mind destroying the clipboard the data objective is the same. I may just play again with some working code to use your pipe.h I need to use the cmd /c with windows string search findstr. I decided against F.A.R.T. ing it. I will us FART on other stuff. I have a large filename dataset to search against an even larger text file of filenames. And I have to check for variations of names. That's an awful lot of (for i,j,k ... next k,j,i ) loops. I will take the speed up pipe could give.
My toybox is becoming very full. I need to get a bigger one.
@bplus Just remember clipboard will be zero on failed content and be delimited by cr/lf's Using the clipboard to push around same chunks of data is the way Microsoft suggests to be used in .net. I guess the big stuff should go thru DCOM interface.