Ask a Question related to Mac Programming, Design and Development.
-
wes #1
files enumeration
Hi All,
I tried to enumated all files under a specific directory (folder) by
first calling MoreFilesX's FSGetDirectoryItems() then I use
FSGetCatalogInfo() to parse each individual items.
The thing I don't understand is I will see some files like
".DS_Store", "Desktop DB", and "Desktop DF". I wonder how can I filter
out those unwanted files. By using the nodeFlags in FSCatalogInfo, I
can filter out all directory names, however, I don't know those
unwanted files (".DS_Store", "Desktop DB", and "Desktop DF"). Any
suggestion? Thanks!
wes Guest
-
HtmlTextWriterStyle enumeration does not contain most of the available CSS properties
I was using the HtmlTextWriter class, and I noticed that the HtmlTextWriterStyle enumeration contains very few of the available CSS properties. The... -
help with UserControl and enumeration in VB.NET
Hello all, I've got limited experience with VB.NET, so please bear with me... I have a user control that has an Enumeration, "renderMode" which... -
Enumeration in Component
I am using C# in Visual Studio to develop my own component. I inherited from System.ComponentModel.Component. I added a public variable that is a... -
Databinding to a collection with a enumeration property
I have a class that has properties; "value","description" and "type". The first two are string properties, but "type" is a enum type. I create the... -
WebControls enumeration
Is there enumeration for the WebControls? Thanks. -
Miro Jurisic #2
Re: files enumeration
In article <5fb7ca71.0309091658.588f2a2f@posting.google.com >,
[email]wkung@hotmail.com[/email] (wes) wrote:
Well, you didn't really explain what it is that you don't want. Is it invisible> The thing I don't understand is I will see some files like
> ".DS_Store", "Desktop DB", and "Desktop DF". I wonder how can I filter
> out those unwanted files. By using the nodeFlags in FSCatalogInfo, I
> can filter out all directory names, however, I don't know those
> unwanted files (".DS_Store", "Desktop DB", and "Desktop DF"). Any
> suggestion? Thanks!
files?
meeroh
--
If this message helped you, consider buying an item
from my wish list: <http://web.meeroh.org/wishlist>
Miro Jurisic Guest
-
wes #3
Re: files enumeration
Miro Jurisic <macdev@meeroh.org> wrote in message news:<macdev-3B9AE7.00162310092003@senator-bedfellow.mit.edu>...
Yes, I don't want those invisible files.> In article <5fb7ca71.0309091658.588f2a2f@posting.google.com >,
> [email]wkung@hotmail.com[/email] (wes) wrote:
>>> > The thing I don't understand is I will see some files like
> > ".DS_Store", "Desktop DB", and "Desktop DF". I wonder how can I filter
> > out those unwanted files. By using the nodeFlags in FSCatalogInfo, I
> > can filter out all directory names, however, I don't know those
> > unwanted files (".DS_Store", "Desktop DB", and "Desktop DF"). Any
> > suggestion? Thanks!
> Well, you didn't really explain what it is that you don't want. Is it invisible
> files?
>
> meeroh
wes Guest
-
Miro Jurisic #4
Re: files enumeration
In article <5fb7ca71.0309101055.4dd10d44@posting.google.com >,
[email]wkung@hotmail.com[/email] (wes) wrote:
You should treat a file as hidden if:> Miro Jurisic <macdev@meeroh.org> wrote in message
> news:<macdev-3B9AE7.00162310092003@senator-bedfellow.mit.edu>...>> > In article <5fb7ca71.0309091658.588f2a2f@posting.google.com >,
> > [email]wkung@hotmail.com[/email] (wes) wrote:
> >> >> > > The thing I don't understand is I will see some files like
> > > ".DS_Store", "Desktop DB", and "Desktop DF". I wonder how can I filter
> > > out those unwanted files. By using the nodeFlags in FSCatalogInfo, I
> > > can filter out all directory names, however, I don't know those
> > > unwanted files (".DS_Store", "Desktop DB", and "Desktop DF"). Any
> > > suggestion? Thanks!
> > Well, you didn't really explain what it is that you don't want. Is it
> > invisible
> > files?
> Yes, I don't want those invisible files.
1. The hidden bit is set in its Finder info in its catalog info; or
2. The name of the file starts with a '.'; or
3. The file is in / and its name is one of the names listed in /.hidden
hth
meeroh
--
If this message helped you, consider buying an item
from my wish list: <http://web.meeroh.org/wishlist>
Miro Jurisic Guest



Reply With Quote

