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,903 of 42,547   
   Tim Meddick to All   
   Re: Batch Files - show output on screen    
   19 Feb 14 09:32:12   
   
   From: timmeddick@o2.co.uk   
      
   Wouldn't this work;   
      
                                 launch.bag>  log_file.txt &type log_file.txt   
      
      
                      .......?   
      
   ==   
      
   Cheers,    Tim Meddick,    Peckham, London.    :-)   
      
      
      
      
    wrote in message   
   news:96a846d3-1afb-4f37-a8f4-316b2d8cb780@googlegroups.com...   
   > 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