Using output from a dos type program as input...
-
Hello, I was just wondering how hard it would be to take 'output' from a 3rd party program and use it as 'input' into my program. for example. list_folder_contents.exe | myprog.exe What I'm trying to do... I have a 3rd party program that images drives. This program allows you to pipe the data/image as its creating it, so my thought was to pipe it into my program and as that data is coming in I would send it over a TCP socket.. The sending and receiving via the socket is easy enough.. I just havent ever tried to take output from another program and used it as input.. Any pointers on where I should start? Thanks, Rob Whoever said nothing's impossible never tried slamming a revolving door!
-
Hello, I was just wondering how hard it would be to take 'output' from a 3rd party program and use it as 'input' into my program. for example. list_folder_contents.exe | myprog.exe What I'm trying to do... I have a 3rd party program that images drives. This program allows you to pipe the data/image as its creating it, so my thought was to pipe it into my program and as that data is coming in I would send it over a TCP socket.. The sending and receiving via the socket is easy enough.. I just havent ever tried to take output from another program and used it as input.. Any pointers on where I should start? Thanks, Rob Whoever said nothing's impossible never tried slamming a revolving door!