There are times when I would like to send the standard output of a lengthy command to the screen and also capture it in a file. The reason is that the single command may take minutes to complete so I want to provide some progress indicators. But I also need to parse the results after it has finished to check for errors.
I know I could re-direct the output to a file and then "type" the file after the command finishes. But that doesn't give me the on-screen status indication I am looking for.
Is there any simple way to do this? The commands are Perforce operations if that makes a difference.
Thanks!
Sending command output to BOTH screen and file
Moderator: DosItHelp