Typically opening an existing file for writing erases its contents.
Rudi
-----Original Message-----
From: R MUTHUSWAMY <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, July 28, 1999 3:56 AM
Subject: erasing the file contents
>
>
>hi,
>
> i have a file(with some contents) and i want to make the file to
>contain nothing
> oneway is to delete the file and create a file in the same name.
> is there any other way of doing this?
>
>thanks in advance,
>MUTHU.
>
>
>----------------------------------------------------------------------
>To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>
>
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]