Article View: borland.public.cppbuilder.nativeapi
Article #13457Re: File delete question
From: Dwayne
Date: Sun, 12 Oct 2003 21:48
Date: Sun, 12 Oct 2003 21:48
16 lines
1651 bytes
1651 bytes
Hello Martin,
"Martin C" <martinc@aol.com> wrote in message
news:3f89598e@newsgroups.borland.com...
Thanks remy so much for your reply,
Now if I need to overwrite the current file with zeros or garbage, is there
any file management function/api that I should use to establish such task.
Martin use the fopen function, Open the file anyway you want. Write
a bunch of zeros in it, close it, then use the erase command, unlink command
or whatever command you want. Then (for safety sake look for your same
file with maybe a different extension of .bak.... and do the same for
that.).
Dwayne
Technical Details
Message-ID:
<3f8af1d1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f88d714@newsgroups.borland.com> <3f88dd3e$1@newsgroups.borland.com> <3f89598e@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,39420a342151d176 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-10-13 12:09:41 PST Reply-To: "Dwayne" <myfrienddr@yahoo.com> From: "Dwayne" <myfrienddr@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f88d714@newsgroups.borland.com> <3f88dd3e$1@newsgroups.borland.com> <3f89598e@newsgroups.borland.com> Subject: Re: File delete question Date: Sun, 12 Oct 2003 14:48:37 -0700 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 68.103.107.245 Message-ID: <3f8af1d1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1066070481 68.103.107.245 (13 Oct 2003 11:41:21 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail