🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
2 messages
2 total messages Started by Asger J�rgensen Thu, 17 Apr 2003 13:26
How to sort out RECYCLER and System Volume Information
#16964
Author: Asger J�rgensen
Date: Thu, 17 Apr 2003 13:26
13 lines
1146 bytes
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. ??

Are they called the same no matter what language
the OP is using ??

Thanks in advance
Asger
Re: How to sort out RECYCLER and System Volume Information
#16849
Author: Martin Golm
Date: Tue, 22 Apr 2003 07:34
23 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads