Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: tacticalogic
Powershell has a tee-object command.

Does it allow the output of a DOS or Windows command-line program to be displayed "live" simultaneous with its being captured, as opposed to waiting until execution is complete before displaying anything?

23 posted on 10/08/2006 4:10:12 PM PDT by supercat (Sony delenda est.)
[ Post Reply | Private Reply | To 21 | View Replies ]


[btw, I wonder why MS-DOS didn't support "real" piping? It wouldn't be hard at all to make real piping work with programs that were configured to be pipes. Basically, just start the pipe program first, capture the input and output vectors, and then run the first program on the command line as a "shell" from the second. Could've been sweet. Wonder why they didn't do that?]


24 posted on 10/08/2006 4:12:03 PM PDT by supercat (Sony delenda est.)
[ Post Reply | Private Reply | To 23 | View Replies ]

To: supercat
Does it allow the output of a DOS or Windows command-line program to be displayed "live" simultaneous with its being captured, as opposed to waiting until execution is complete before displaying anything?

I don't know about the DOS or Windows command line programs. I believe it supports that for commands run within the PS shell.

26 posted on 10/08/2006 6:38:37 PM PDT by tacticalogic ("Oh bother!" said Pooh, as he chambered his last round.)
[ Post Reply | Private Reply | To 23 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson