home bbs files messages ]

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

   alt.2600.hackers      Pretty sure it ain't about the Atari...      12,449 messages   

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

   Message 11,076 of 12,449   
   Auric__ to TheRiddle   
   Re: Batch File Results   
   22 May 07 14:36:40   
   
   From: not.my.real@email.address   
      
   On Sat, 19 May 2007 06:43:02 GMT, TheRiddle wrote:   
      
   > On May 17, 12:08 pm, "ArtDent"  wrote:   
   >> On 15-May-2007, TheRiddle  wrote:   
   >>   
   >> > ok im just playing around with dos and i made a batch file that   
   >> > pings an ip, is there a way to make the batch save itself to a   
   >> > certain folder but not overwrite the previous results   
   >>   
   >> According to my old IBM DOS 5.0 book, you should use a double   
   >> greater-than sign (>>), which will append to the end of the file   
   >> without deleting the info already in the file.   
   >   
   > what do you mean it will choose the destination and everything   
   > too? if not what other commands would i need?   
      
   He's talking about simple redirection. If you do this:   
   dir>>foo.txt   
   then the contents of the current directory will be appended to the   
   end of the file "foo.txt" (which will be created if it doesn't   
   already exist).   
      
   --   
   auric dot auric at gmail dot com   
   *****   
   Promise me we'll only be as reckless as necessary.   
      
   --   
   Posted via a free Usenet account from http://www.teranews.com   
      
   --- 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