home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch      Fun with MS-DOS batch files      42,547 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 40,923 of 42,547   
   kennethray25@gmail.com to Tim Meddick   
   Re: Batch Files - show output on screen    
   17 Apr 14 15:24:02   
   
   Yep.   
      
   Nice!   
      
      
   On Wednesday, February 19, 2014 2:32:12 AM UTC-7, Tim Meddick wrote:   
   > Wouldn't this work;   
   >   
   >   
   >   
   >                               launch.bag>  log_file.txt &type log_file.txt   
   >   
   >   
   >   
   >   
   >   
   >                    .......?   
   >   
   >   
   >   
   > ==   
   >   
   >   
   >   
   > Cheers,    Tim Meddick,    Peckham, London.    :-)   
   >   
   >   
   >   
   >   
   >   
   >   
   >   
   >   
   >   
   >   
   > > On Saturday, December 4, 2010 4:51:44 AM UTC-5, foxidrive wrote:   
   >   
   > >> On 4/12/2010 20:25, techman41973 wrote:   
   >   
   > >> > I know you can pipe the output of a batch file to a text file   
   >   
   > >> >   such as    launch.bag>  log_file.txt   
   >   
   > >> > but this turns off the output on the screen.   
   >   
   > >> > Is there a way to keep the output on the screen AND write the output   
   >   
   > >> > to a text file?   
   >   
   > >>   
   >   
   > >> Use a TEE filter.   
   >   
   > >>   
   >   
   > >> --   
   >   
   > >> Regards,   
   >   
   > >> Mic   
   >   
   > >   
   >   
   > > T is a wonderful thing.   
   >   
   > > And I wish we were a UNIX world again but   
   >   
   > > I use Tail.   
   >   
   > > I output the batch to a file batch > file.txt   
   >   
   > > Then run tail on the file.   
   >   
   > > Easy Peasy.   
   >   
   > > Steph :D   
      
   --- 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