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 41,100 of 42,547   
   Guy to Rob   
   Re: Redirect number to file?   
   01 Apr 15 18:32:08   
   
   From: guy@guysalias.tk.invalid   
      
   Rob wrote:   
      
   > If I do:   
   >   
   >        echo 2>test.txt   
   >   
   > I get an empty file. What is happend?   
   >   
      
      
   You redirected the Handle STDERR (2) to the file.   
      
   Try...   
      
            >test.txt echo 2   
      
   or   
      
            echo 2 1> test.txt   
      
   --- 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