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,865 of 42,547   
   foxidrive to Harry Potter   
   Re: Redirecting error channel to a file   
   19 Dec 13 10:08:29   
   
   From: foxidrive@server.invalid   
      
   On 19/12/2013 06:38, Harry Potter wrote:   
   > I want to be able to divert the output of a C compiler's error messages to a   
   file when running it from a batch file, under DOS, Win98 and WinVista.  How do   
   I do that?   
      
   If this is a command line compiler then see if this format will do it.   
      
   compiler.exe  2>errorlog.txt   
      
      
      
   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. :)   
      
   --- 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