Article View: borland.public.cppbuilder.nativeapi
Article #13443Re: File delete question
From: Remy Lebeau (TeamB)
Date: Sun, 12 Oct 2003 21:25
Date: Sun, 12 Oct 2003 21:25
16 lines
1715 bytes
1715 bytes
"Martin C" <martinc@aol.com> wrote in message news:3f895aff@newsgroups.borland.com... > Thanks Ed, this is really a great source, but I believe it is so big > to what I am looking for... I think you missed the point that Ed was trying to point out to you. If you study the utility close enough, you will discover *how* it erases individual files, which is exactly what you are asking for. For example, if you look at the source code for the Eraser, the wipe.cpp file contains a wipeFile() function that essentially does what I suggested earlier - open the file, write garbage data to the file from beginning to end, then close the file prior to then deleting the file. Gambit
Technical Details
Message-ID:
<3f89c66b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3f88d714@newsgroups.borland.com> <3f892fbb@newsgroups.borland.com> <3f895aff@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-12 14:34:16 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f88d714@newsgroups.borland.com> <3f892fbb@newsgroups.borland.com> <3f895aff@newsgroups.borland.com> Subject: Re: File delete question Date: Sun, 12 Oct 2003 14:25:57 -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: 67.22.137.75 Message-ID: <3f89c66b$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1065993835 67.22.137.75 (12 Oct 2003 14:23:55 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail