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,867 of 42,547   
   Harry Potter to foxidrive   
   Re: Redirecting error channel to a file   
   19 Dec 13 05:48:38   
   
   From: rose.joseph12@yahoo.com   
      
   On Wednesday, December 18, 2013 6:08:29 PM UTC-5, foxidrive wrote:   
   > If this is a command line compiler then see if this format will do it.   
   >   
   > compiler.exe  2>errorlog.txt   
   >   
   It *is* a command-line compiler, but it uses a special error channel for   
   output rather than the standard output.   
      
   > I've noted in various places that when doing this the errors will be   
   difficult to pin down to where they   
   > occurred, but that remains for you to figure out. :)   
   I *could* use echo to precede every line with a header, i.e.:   
      
      echo Compiling file.c   
      
   --- 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