In case you can't get that to work, in DOS you can do "copy con filename"
then "CTRL-Z" and press enter.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jim Swart
Agere Systems - Colorado Design Center
Site Systems Administrator & IT Focal Point
(Boulder, Longmont, Westminster & Denver)

INTERNAL WEB:  http://coloradoit.agere.com
          VOICE:  (720) 494-2330
              FAX:  (720) 494-2331
      SITE ADMIN:  (720) 494-2456
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


-----Original Message-----
From: Erik Hatcher [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 9:51 AM
To: [EMAIL PROTECTED]
Subject: Re: How can I create a zero length file


This seemed to do the trick for me:

    <echo message="" file="emptyfile.dat"/>



----- Original Message ----- 
From: "Ross Cormier" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 07, 2001 8:46 AM
Subject: How can I create a zero length file


> The subject says it all.  
> 
> How can I use ant to create a zero length file?
> 
> Is it possible to truncate a file?
> 
> Thanks in advance,
> Ross

Reply via email to