🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #17168

Re: Deleting multiple files?

#17168
From: Rodolfo Frino::Stargate Software
Date: Tue, 08 Apr 2003 10:43
35 lines
1836 bytes
Also, you might like to empty the recycle bin. If so, you can use
SHEmptyRecycleBin
with the flags SHERB_NOCONFIRMATION | SHERB_NOPROGRESSUI | SHERB_NOSOUND.


// Empty Recycle Bin
    SHEmptyRecycleBin(Application->Handle, NULL,
                      SHERB_NOCONFIRMATION | SHERB_NOPROGRESSUI |
SHERB_NOSOUND);


Rodolfo

"Phil V" <pvalentine_REMOVE_THIS_@_REMOVE_THIS_continental-microwave.co.uk>
wrote in message news:3e929bc3$1@newsgroups.borland.com...
> How do I delete either multiple files or even a whole directory, (whether
it
> be empty or not) ?
>
> I don't really want the user to be aware of the deletion as it is deleting
> file that are used by my application and are created without the user's
> interaction.
>
> Any ideas? If possible it should work on windows 9x and XP.
>
> Many thanks,
>
> Phil
>
>
> --
>
> "If it is called software, why is it so hard?" - Unknown
>
>
Technical Details
Message-ID: <3e92a739@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3e929bc3$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,fd07c1abe21c07f
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-04-08 04:04:00 PST
From: "Rodolfo Frino::Stargate Software" <rodolfofrino@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3e929bc3$1@newsgroups.borland.com>
Subject: Re: Deleting multiple files?
Date: Tue, 8 Apr 2003 20:43:39 +1000
Lines: 37
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
NNTP-Posting-Host: 211.28.77.205
Message-ID: <3e92a739@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1049798457 211.28.77.205 (8 Apr 2003 03:40:57 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail