Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch.nt    |    Fun with Windows NT batch files    |    68,980 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 67,048 of 68,980    |
|    Auric__ to All    |
|    Re: Is there a standalone tool that work    |
|    09 Sep 17 22:42:59    |
      From: not.my.real@email.address              JJ wrote:              > TCC's TEE command copies standard input to both the standard output and to       > a file.       >       > e.g. for use with FOR command when parsing a command/program output without       > manually ECHOing the lines.              Tee is a standard util in the *nix world... not so much in Windows. There are       various *nix-alike systems that run under Windows which include a version of       tee, or you can write your own, if you can program. It's pretty straight-       forward:              1. Open stdin, stdout, and the file to write to (listed on the command line).       2. Read from stdin to a variable, write said variable to stdout & the file.       3. When eof(stdin), close everything and exit.              --       Trying to anticipate every possible future contingency can drive you crazy,       and you'll generally guess wrong anyway.              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca