[windows2000] Re: Appending logs to plain text-files

  • From: "Sorin Srbu" <Sorin.Srbu@xxxxxxxxxxxxx>
  • To: "windows2000@xxxxxxxxxxxxx" <windows2000@xxxxxxxxxxxxx>
  • Date: Wed, 10 Nov 2004 15:40:46 +0100

On Wed, 10 Nov 2004 14:35:45 -0000, Spriggs Jon wrote:

>Nope... If you use a single chevron character it creates or overwrites a
>file, if you use two it appends.

Cool, thanks!

How come I've seen those chevron-documentations, I assume they are,
aren't they??


>-----Original Message-----
>From: Sorin Srbu [mailto:Sorin.Srbu@xxxxxxxxxxxxx] 
>Sent: 10 November 2004 14:30
>To: windows2000@xxxxxxxxxxxxx
>Subject: [windows2000] Re: Appending logs to plain text-files
>
>
>On Wed, 10 Nov 2004 13:42:20 -0000, Spriggs Jon wrote:
>
>>Copy "\\msi-server\msi\Eudora v6.2.0.14 Custom\Eudora" "\\%1\c$\program 
>>files\qualcomm\eudora" /Y 1>>%computername%.txt 2>>%computername%.txt
>>
>>Copy "\\msi-server\msi\Eudora v6.2.0.14 Custom\Eudora\plugins" 
>>"\\%1\c$\program files\qualcomm\eudora\plugins" /Y 
>>1>>%computername%.txt
>>2>>%computername%.txt
>>
>>1 is normal output and 2 is error output. Or at least... I think that 
>>should work.
>
>Ummm... Assuming the computername is the same in both line copy-procedure1
>(...eudora) and in copy-procedure 2 (...plugins), won't the log-file in 1
>(...eudora) be overwritten in line 2 (...plugins)?
>
>I plan to hold the logs temporarily in one and the same shared folder, on a
>server.


BW,

Sorin

> Sorin Srbu, Systems Engineer          Web: http://www.farmfak.uu.se/organisk/
> Dept of Medicinal Chemistry,          Phone: +46 (0)18-4714482 >> 3 signals 
> >> GSM
> Div of Org Pharm Chem,                Mobile Phone: +46 (0)701-718023
> Box 574, Uppsala University,          Fax: +46 (0)18-4714474
> SE-751 23 Uppsala, Sweden             Visit: BMC, Husargatan 3, D5:512b
>
> Public PGP key available on request.
>
> ()  ASCII ribbon campaign - Against html E-mail 
> /\
>
> Harmless tagline follows:
>
> BOFH excuse follows: new management



********************************************************
This Weeks Sponsor StressedPuppy.com Games
Feeling stressed out? Check out our games to
relieve your stress.
http://www.StressedPuppy.com
********************************************************
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm

Other related posts: