Article View: borland.public.cppbuilder.nativeapi
Article #16849Re: How to sort out RECYCLER and System Volume Information
From: Martin Golm
Date: Tue, 22 Apr 2003 07:34
Date: Tue, 22 Apr 2003 07:34
23 lines
1667 bytes
1667 bytes
"Asger J๏ฟฝrgensen" wrote: > > Hi there > > I am doing a FindFirstFile ....etc. > > But the result contains both RECYCLER and the > System Volume Information folders what do i need > to sort those out, so that they won't be in my result. ?? You should check the resulting WIN32_FIND_DATA dwFileAttributes member for having FILEATTRIBUTE_SYSTEM and/or FILEATTRIBUTE_HIDDEN set, and eventually discard the found item. Have a look at the help files. > Are they called the same no matter what language > the OP is using ?? I can't tell you for the System Volume Information folder, but for the Recycler, the answer is NO. (For instance, on the Win95 German system here the folder name is 'Recycled'.) Martin
Technical Details
Message-ID:
<3EA4F075.39C5268B@gmx.de>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<MPG.1908c9e7c53c08989896e1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10cc67,4185954f4a869992 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-04-22 00:38:52 PST Message-ID: <3EA4F075.39C5268B@gmx.de> Date: Tue, 22 Apr 2003 09:34:13 +0200 From: Martin Golm <golm@gmx.de> X-Mailer: Mozilla 4.72 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: How to sort out RECYCLER and System Volume Information References: <MPG.1908c9e7c53c08989896e1@newsgroups.borland.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 193.159.113.17 X-Trace: newsgroups.borland.com 1050996831 193.159.113.17 (22 Apr 2003 00:33:51 -0700) Lines: 23 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail